From 83c219dfe202097c17548a9789b5e661fcee593c Mon Sep 17 00:00:00 2001 From: David Faure Date: Fri, 21 Oct 2011 21:10:28 +0200 Subject: Rename storageLocation() to writableLocation(). Change-Id: I8f6522a70950f78ddd6141360d36d104bd697e28 Reviewed-by: Thiago Macieira (Intel) --- src/corelib/io/qstandardpaths_unix.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/corelib/io/qstandardpaths_unix.cpp') 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; } -- cgit v1.2.3