File patch-r906293.diff of Package kdelibs4
Subject: Fix cervisia kpart load in konqueror.
From: wstephenson@suse.de
Bug: kde#178603
Patch-upstream: 906293
--- kdecore/util/kpluginloader.cpp (revision 906292)
+++ kdecore/util/kpluginloader.cpp (revision 906293)
@@ -127,7 +127,7 @@ KPluginLoader::KPluginLoader(const KServ
Q_D(KPluginLoader);
Q_ASSERT(service.isValid());
- if (service.isApplication()) {
+ if (service.library().isEmpty()) {
d->errorString = i18n("The service '%1' provides no library or the Library key is missing in the .desktop file.", service.name());
return;
}
Index: kdecore/util/kpluginloader.cpp
===================================================================