summaryrefslogtreecommitdiffstats
path: root/src/gui/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/util')
-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));
}