aboutsummaryrefslogtreecommitdiff
path: root/src/core/kdesktopfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kdesktopfile.cpp')
-rw-r--r--src/core/kdesktopfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp
index d26ed59d..d2823c15 100644
--- a/src/core/kdesktopfile.cpp
+++ b/src/core/kdesktopfile.cpp
@@ -332,11 +332,13 @@ KDesktopFile *KDesktopFile::copyTo(const QString &file) const
return config;
}
+#if KCONFIGCORE_BUILD_DEPRECATED_SINCE(5, 89)
QStandardPaths::StandardLocation KDesktopFile::resource() const
{
Q_D(const KDesktopFile);
return d->resourceType;
}
+#endif
QString KDesktopFile::fileName() const
{