summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qdesktopservices.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/gui/util/qdesktopservices.cpp
parentddc093b90e26b2f5291ee70f9d752607429cd81a (diff)
Rename storageLocation() to writableLocation().
Change-Id: I8f6522a70950f78ddd6141360d36d104bd697e28 Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/util/qdesktopservices.cpp')
-rw-r--r--src/gui/util/qdesktopservices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/util/qdesktopservices.cpp b/src/gui/util/qdesktopservices.cpp
index da3b498729..ab45c17dd3 100644
--- a/src/gui/util/qdesktopservices.cpp
+++ b/src/gui/util/qdesktopservices.cpp
@@ -270,11 +270,11 @@ void QDesktopServices::unsetUrlHandler(const QString &scheme)
*/
/*!
- \deprecated Use QStandardPaths::storageLocation()
+ \deprecated Use QStandardPaths::writableLocation()
*/
QString QDesktopServices::storageLocation(StandardLocation type)
{
- return QStandardPaths::storageLocation(static_cast<QStandardPaths::StandardLocation>(type));
+ return QStandardPaths::writableLocation(static_cast<QStandardPaths::StandardLocation>(type));
}