kio: print plugin name when loading fails

This commit is contained in:
Thomas Tuegel 2017-05-25 13:28:16 -05:00
parent faf0d3e91d
commit fc72335570
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: kio-5.33.0/src/kiod/kiod_main.cpp
===================================================================
--- kio-5.33.0.orig/src/kiod/kiod_main.cpp
+++ kio-5.33.0/src/kiod/kiod_main.cpp
@@ -60,7 +60,7 @@ void KIOD::loadModule(const QString &nam
module = factory->create<KDEDModule>();
}
if (!module) {
- qCWarning(KIOD_CATEGORY) << "Error loading plugin:" << loader.errorString();
+ qCWarning(KIOD_CATEGORY) << "Error loading plugin" << name << loader.errorString();
return;
}
module->setModuleName(name); // makes it register to DBus

View File

@ -1 +1,2 @@
samba-search-path.patch
kio-debug-module-loader.patch