diff base/ResourceFinder.cpp @ 980:6e6da0636e5e tonioni

Merge from default branch
author Chris Cannam
date Tue, 09 Sep 2014 16:36:21 +0100
parents 9a422d610058
children f161ca450050
line wrap: on
line diff
--- a/base/ResourceFinder.cpp	Tue Sep 02 16:23:48 2014 +0100
+++ b/base/ResourceFinder.cpp	Tue Sep 09 16:36:21 2014 +0100
@@ -218,7 +218,7 @@
         QString save = QString("%1%2").arg(user).arg(resourceCat);
         QDir saveDir(save);
         if (!saveDir.exists()) {
-            if (!userDir.mkpath(save)) {
+            if (!saveDir.mkpath(save)) {
                 cerr << "ResourceFinder::getResourceSaveDir: ERROR: Failed to create user resource path \"" << save << "\"" << endl;
                 return "";
             }