Mercurial > hg > svcore
diff base/ResourceFinder.cpp @ 735:66c3f4e060e9
Merge
author | Chris Cannam |
---|---|
date | Wed, 23 May 2012 17:17:17 +0100 |
parents | 9a0272c2d596 b867c07478be |
children | e802e550a1f2 |
line wrap: on
line diff
--- a/base/ResourceFinder.cpp Fri May 18 09:48:19 2012 +0100 +++ b/base/ResourceFinder.cpp Wed May 23 17:17:17 2012 +0100 @@ -75,8 +75,7 @@ } #else #ifdef Q_OS_MAC - list << QString("/Library/Application Support/%1/%2") - .arg(qApp->organizationName()) + list << QString("/Library/Application Support/%1") .arg(qApp->applicationName()); #else list << QString("/usr/local/share/%1") @@ -107,9 +106,8 @@ char *home = getenv("HOME"); if (!home || !home[0]) return ""; #ifdef Q_OS_MAC - return QString("%1/Library/Application Support/%2/%3") + return QString("%1/Library/Application Support/%2") .arg(home) - .arg(qApp->organizationName()) .arg(qApp->applicationName()); #else return QString("%1/.local/share/%2")