diff options
author | David Faure <faure@kde.org> | 2011-10-21 21:10:28 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-23 00:57:03 +0200 |
commit | 83c219dfe202097c17548a9789b5e661fcee593c (patch) | |
tree | 42161eec5b34f0319cc2518d8386a428372c0409 /src/corelib/io/qstandardpaths_unix.cpp | |
parent | ddc093b90e26b2f5291ee70f9d752607429cd81a (diff) |
Rename storageLocation() to writableLocation().
Change-Id: I8f6522a70950f78ddd6141360d36d104bd697e28
Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstandardpaths_unix.cpp')
-rw-r--r-- | src/corelib/io/qstandardpaths_unix.cpp | 6 |
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; } |