From fc05d19a809f07ea682aa4d1dab6246d72a256b8 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sat, 26 Apr 2014 19:19:27 +0200 Subject: Adapt to changes in KDEInstallDirs kde5/services is kservices5 kde5/servicetypes is kservicestypes5 --- src/core/kdesktopfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.1