summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstandardpaths_mac.cpp
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2011-10-21 21:10:28 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-23 00:57:03 +0200
commit83c219dfe202097c17548a9789b5e661fcee593c (patch)
tree42161eec5b34f0319cc2518d8386a428372c0409 /src/corelib/io/qstandardpaths_mac.cpp
parentddc093b90e26b2f5291ee70f9d752607429cd81a (diff)
Rename storageLocation() to writableLocation().
Change-Id: I8f6522a70950f78ddd6141360d36d104bd697e28 Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstandardpaths_mac.cpp')
-rw-r--r--src/corelib/io/qstandardpaths_mac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qstandardpaths_mac.cpp b/src/corelib/io/qstandardpaths_mac.cpp
index 4f379fac09..65c7f01fb4 100644
--- a/src/corelib/io/qstandardpaths_mac.cpp
+++ b/src/corelib/io/qstandardpaths_mac.cpp
@@ -117,7 +117,7 @@ static QString macLocation(QStandardPaths::StandardLocation type, short domain)
return path;
}
-QString QStandardPaths::storageLocation(StandardLocation type)
+QString QStandardPaths::writableLocation(StandardLocation type)
{
switch (type) {
case HomeLocation:
@@ -144,7 +144,7 @@ QStringList QStandardPaths::standardLocations(StandardLocation type)
dirs.append(path);
}
- const QString localDir = storageLocation(type);
+ const QString localDir = writableLocation(type);
dirs.prepend(localDir);
return dirs;
}