summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qdesktopservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/util/qdesktopservices.cpp')
-rw-r--r--src/gui/util/qdesktopservices.cpp17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/gui/util/qdesktopservices.cpp b/src/gui/util/qdesktopservices.cpp
index ab45c17dd3..4fbf0a59f3 100644
--- a/src/gui/util/qdesktopservices.cpp
+++ b/src/gui/util/qdesktopservices.cpp
@@ -270,21 +270,16 @@ void QDesktopServices::unsetUrlHandler(const QString &scheme)
*/
/*!
- \deprecated Use QStandardPaths::writableLocation()
+ \fn QString QDesktopServices::storageLocation(StandardLocation type)
+ \obsolete
+ Use QStandardPaths::writableLocation()
*/
-QString QDesktopServices::storageLocation(StandardLocation type)
-{
- return QStandardPaths::writableLocation(static_cast<QStandardPaths::StandardLocation>(type));
-}
-
/*!
- \deprecated Use QStandardPaths::displayName()
+ \fn QString QDesktopServices::displayName(StandardLocation type)
+ \obsolete
+ Use QStandardPaths::displayName()
*/
-QString QDesktopServices::displayName(StandardLocation type)
-{
- return QStandardPaths::displayName(static_cast<QStandardPaths::StandardLocation>(type));
-}
QT_END_NAMESPACE