mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
kcmutils: fix kcm plugin path
This commit is contained in:
parent
7af16e5bd7
commit
86dac81a70
@ -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();
|
@ -1,2 +1,3 @@
|
||||
kcmutils-follow-symlinks.patch
|
||||
kcmutils-debug-module-loader.patch
|
||||
kcmutils-fix-plugin-path.patch
|
||||
|
Loading…
Reference in New Issue
Block a user