rpms/kdelibs/F-9 kdelibs-4.1.1-kutils-fixes.patch, NONE, 1.1 kdelibs.spec, 1.347, 1.348

Lukas Tinkl ltinkl at fedoraproject.org
Mon Sep 8 12:42:23 UTC 2008


Author: ltinkl

Update of /cvs/extras/rpms/kdelibs/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20583

Modified Files:
	kdelibs.spec 
Added Files:
	kdelibs-4.1.1-kutils-fixes.patch 
Log Message:
kutils fixes, mostly in plugin selector


kdelibs-4.1.1-kutils-fixes.patch:

--- NEW FILE kdelibs-4.1.1-kutils-fixes.patch ---
Index: kutils/kpluginselector.cpp
===================================================================
--- kutils/kpluginselector.cpp	(revision 856658)
+++ kutils/kpluginselector.cpp	(revision 856659)
@@ -410,7 +410,8 @@
 
         if (!pluginEntryList.contains(pluginEntry) && !listToAdd.contains(pluginEntry) &&
              (!pluginInfo.property("X-KDE-PluginInfo-Category").isValid() ||
-              !pluginInfo.property("X-KDE-PluginInfo-Category").toString().compare(categoryKey, Qt::CaseInsensitive))) {
+              !pluginInfo.property("X-KDE-PluginInfo-Category").toString().compare(categoryKey, Qt::CaseInsensitive)) &&
+            !pluginInfo.service()->noDisplay()) {
             listToAdd << pluginEntry;
 
             if (!pluginSelector_d->showIcons && !pluginInfo.icon().isEmpty()) {
Index: kutils/kpluginselector.cpp
===================================================================
--- kutils/kpluginselector.cpp	(revision 856718)
+++ kutils/kpluginselector.cpp	(revision 856719)
@@ -411,7 +411,7 @@
         if (!pluginEntryList.contains(pluginEntry) && !listToAdd.contains(pluginEntry) &&
              (!pluginInfo.property("X-KDE-PluginInfo-Category").isValid() ||
               !pluginInfo.property("X-KDE-PluginInfo-Category").toString().compare(categoryKey, Qt::CaseInsensitive)) &&
-            !pluginInfo.service()->noDisplay()) {
+            (pluginInfo.service().isNull() || !pluginInfo.service()->noDisplay())) {
             listToAdd << pluginEntry;
 
             if (!pluginSelector_d->showIcons && !pluginInfo.icon().isEmpty()) {
Index: kutils/kcmoduleproxy.cpp
===================================================================
--- kutils/kcmoduleproxy.cpp	(revision 857917)
+++ kutils/kcmoduleproxy.cpp	(revision 857918)
@@ -228,7 +228,7 @@
     Q_Q(KCModuleProxy);
     changed = c;
     emit q->changed(c);
-    emit q->changed(this);
+    emit q->changed(q);
 }
 
 void KCModuleProxyPrivate::_k_moduleDestroyed()


Index: kdelibs.spec
===================================================================
RCS file: /cvs/extras/rpms/kdelibs/F-9/kdelibs.spec,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -r1.347 -r1.348
--- kdelibs.spec	3 Sep 2008 10:51:21 -0000	1.347
+++ kdelibs.spec	8 Sep 2008 12:41:53 -0000	1.348
@@ -2,7 +2,7 @@
 
 Summary: K Desktop Environment 4 - Libraries
 Version: 4.1.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 
 %if 0%{?fedora} > 8
 Name: kdelibs
@@ -84,6 +84,7 @@
 Patch100: kdelibs-4.1.1-kde#169447-khtml-regression.patch
 Patch101: kdelibs-4.1.1-kde#856379-cookiejar.patch
 Patch102: kdelibs-4.1.1-kde#856403-urlnav.patch
+Patch103: kdelibs-4.1.1-kutils-fixes.patch
 
 BuildRequires: qt4-devel >= 4.4.0
 Requires: qt4 >= %{_qt4_version} 
@@ -213,6 +214,7 @@
 %patch100 -p0 -b .kde#169447-khtml-regression
 %patch101 -p0 -b .kde#856379-cookiejar
 %patch102 -p0 -b .kde#856403-urlnav
+%patch103 -p0 -b .kutils-fixes
 
 %build
 
@@ -373,6 +375,9 @@
 
 
 %changelog
+* Mon Sep 08 2008 Lukáš Tinkl <ltinkl at redhat.com> 4.1.1-6
+- fix crashes in plugin selector
+
 * Wed Sep 03 2008 Lukáš Tinkl <ltinkl at redhat.com> 4.1.1-5
 - fixed crash on setting cookies on empty domains (like the file
   system), KDE bug #170147




More information about the fedora-extras-commits mailing list