changeset 708:9a0272c2d596 sv_v1.9

Avoid spurious %2 in directory path! This path is still poor, but better than it was
author Chris Cannam
date Mon, 10 Oct 2011 16:47:52 +0100
parents 76ca85d98b92
children ef3b196cf447
files base/ResourceFinder.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/base/ResourceFinder.cpp	Mon Oct 10 10:56:50 2011 +0100
+++ b/base/ResourceFinder.cpp	Mon Oct 10 16:47:52 2011 +0100
@@ -102,7 +102,7 @@
         home = QDir::home().absolutePath();
     }
     if (home == "") return "";
-    return QString("%1/.%2").arg(qApp->applicationName()); //!!! wrong
+    return QString("%1/.%2").arg(home).arg(qApp->applicationName()); //!!! wrong
 #else
     char *home = getenv("HOME");
     if (!home || !home[0]) return "";