summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstandardpaths_win.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_win.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_win.cpp')
-rw-r--r--src/corelib/io/qstandardpaths_win.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qstandardpaths_win.cpp b/src/corelib/io/qstandardpaths_win.cpp
index bd327e6f37..5716ffc6a8 100644
--- a/src/corelib/io/qstandardpaths_win.cpp
+++ b/src/corelib/io/qstandardpaths_win.cpp
@@ -90,7 +90,7 @@ static QString convertCharArray(const wchar_t *path)
return QDir::fromNativeSeparators(QString::fromWCharArray(path));
}
-QString QStandardPaths::storageLocation(StandardLocation type)
+QString QStandardPaths::writableLocation(StandardLocation type)
{
QString result;
@@ -157,7 +157,7 @@ QString QStandardPaths::storageLocation(StandardLocation type)
// Although Microsoft has a Cache key it is a pointer to IE's cache, not a cache
// location for everyone. Most applications seem to be using a
// cache directory located in their AppData directory
- return storageLocation(DataLocation) + QLatin1String("\\cache");
+ return writableLocation(DataLocation) + QLatin1String("\\cache");
case RuntimeLocation:
case HomeLocation:
@@ -202,7 +202,7 @@ QStringList QStandardPaths::standardLocations(StandardLocation type)
}
#endif
- const QString localDir = storageLocation(type);
+ const QString localDir = writableLocation(type);
dirs.prepend(localDir);
return dirs;
}