aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2014-04-26 19:19:27 +0200
committerAleix Pol <aleixpol@kde.org>2014-04-26 19:55:55 +0200
commitfc05d19a809f07ea682aa4d1dab6246d72a256b8 (patch)
tree063b71d29c088d2c896bbe2209e515039e6420ce /src/core
parentb7887433d5dd44a4414674c6b3147edff30a0f4b (diff)
downloadkconfig-fc05d19a809f07ea682aa4d1dab6246d72a256b8.tar.gz
kconfig-fc05d19a809f07ea682aa4d1dab6246d72a256b8.tar.bz2
Adapt to changes in KDEInstallDirs
kde5/services is kservices5 kde5/servicetypes is kservicestypes5
Diffstat (limited to 'src/core')
-rw-r--r--src/core/kdesktopfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp
index facd1ea0..6278309e 100644
--- a/src/core/kdesktopfile.cpp
+++ b/src/core/kdesktopfile.cpp
@@ -133,7 +133,7 @@ bool KDesktopFile::isAuthorizedDesktopFile(const QString &path)
return true;
}
}
- const QString servicesDir = QLatin1String("kde5/services/"); // KGlobal::dirs()->xdgDataRelativePath("services")
+ const QString servicesDir = QLatin1String("kservices5/"); // KGlobal::dirs()->xdgDataRelativePath("services")
Q_FOREACH (const QString &xdgDataPrefix, QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation)) {
if (QDir(xdgDataPrefix).exists()) {
const QString prefix = QFileInfo(xdgDataPrefix).canonicalFilePath();