diff --git a/effects.cpp b/effects.cpp index 3fee73ad5b..8b9623a6c4 100644 --- a/effects.cpp +++ b/effects.cpp @@ -1426,8 +1426,7 @@ bool EffectsHandlerImpl::loadEffect(const QString& name, bool checkDefault) bool EffectsHandlerImpl::loadScriptedEffect(const QString& name, KService *service) { #ifdef KWIN_BUILD_SCRIPTING -#warning is DataLocation the right location for our script desktop files? - const KDesktopFile df(QStandardPaths::DataLocation, QStringLiteral("kde5/services/") + service->entryPath()); + const KDesktopFile df(QStandardPaths::GenericDataLocation, QStringLiteral("kde5/services/") + service->entryPath()); const QString scriptName = df.desktopGroup().readEntry(QStringLiteral("X-Plasma-MainScript"), QString()); if (scriptName.isEmpty()) { kDebug(1212) << "X-Plasma-MainScript not set";