kcmutils: fix kcm plugin path

This commit is contained in:
Thomas Tuegel 2017-05-27 07:57:31 -05:00
parent 7af16e5bd7
commit 86dac81a70
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: kcmutils-5.33.0/src/kcmoduleloader.cpp
===================================================================
--- kcmutils-5.33.0.orig/src/kcmoduleloader.cpp
+++ kcmutils-5.33.0/src/kcmoduleloader.cpp
@@ -93,7 +93,7 @@ KCModule *KCModuleLoader::loadModule(con
if (module) {
return module;
} else {
- KPluginLoader loader(KPluginLoader::findPlugin(QLatin1String("kcms/") + mod.service()->library()));
+ KPluginLoader loader(KPluginLoader::findPlugin(mod.service()->library()));
KPluginFactory* factory = loader.factory();
if (!factory) {
qWarning() << "Error loading KCM plugin" << mod.service()->library() << loader.errorString();

View File

@ -1,2 +1,3 @@
kcmutils-follow-symlinks.patch
kcmutils-debug-module-loader.patch
kcmutils-fix-plugin-path.patch