summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qdesktopservices.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/util/qdesktopservices.h')
-rw-r--r--src/gui/util/qdesktopservices.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/util/qdesktopservices.h b/src/gui/util/qdesktopservices.h
index 04a639437e..280acaf277 100644
--- a/src/gui/util/qdesktopservices.h
+++ b/src/gui/util/qdesktopservices.h
@@ -79,12 +79,14 @@ public:
};
QT_DEPRECATED static QString storageLocation(StandardLocation type) {
- return QStandardPaths::writableLocation(static_cast<QStandardPaths::StandardLocation>(type));
+ return storageLocationImpl(type);
}
QT_DEPRECATED static QString displayName(StandardLocation type) {
return QStandardPaths::displayName(static_cast<QStandardPaths::StandardLocation>(type));
}
#endif
+private:
+ static QString storageLocationImpl(StandardLocation type);
};
#endif // QT_NO_DESKTOPSERVICES