summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstandardpaths_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qstandardpaths_unix.cpp')
-rw-r--r--src/corelib/io/qstandardpaths_unix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qstandardpaths_unix.cpp b/src/corelib/io/qstandardpaths_unix.cpp
index 12f872f5fa..89d4661215 100644
--- a/src/corelib/io/qstandardpaths_unix.cpp
+++ b/src/corelib/io/qstandardpaths_unix.cpp
@@ -54,7 +54,7 @@
QT_BEGIN_NAMESPACE
-QString QStandardPaths::storageLocation(StandardLocation type)
+QString QStandardPaths::writableLocation(StandardLocation type)
{
switch (type) {
case HomeLocation:
@@ -212,7 +212,7 @@ QString QStandardPaths::storageLocation(StandardLocation type)
break;
case ApplicationsLocation:
- path = storageLocation(GenericDataLocation) + QLatin1String("/applications");
+ path = writableLocation(GenericDataLocation) + QLatin1String("/applications");
break;
default:
@@ -241,7 +241,7 @@ QStringList QStandardPaths::standardLocations(StandardLocation type)
} else
dirs = xdgConfigDirs.split(QLatin1Char(':'));
}
- const QString localDir = storageLocation(type);
+ const QString localDir = writableLocation(type);
dirs.prepend(localDir);
return dirs;
}