[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/libkopete
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2008-08-12 19:57:15
Message-ID: 1218571035.201669.21864.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 846026 by rjarosz:

Backport commit 837114.
Protocols aren't always in Plugins group so we should ignore them.

CCBUG: 167113



 M  +4 -0      kopetepluginmanager.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/libkopete/kopetepluginmanager.cpp #846025:846026
@@ -277,6 +277,10 @@
 		QValueList<KPluginInfo *>::ConstIterator end = plugins.end();
 		for ( ; it2 != end; ++it2 )
 		{
+			// Protocols are loaded automatically so they aren't always in Plugins group. (fixes bug 167113)
+			if ( (*it2)->category() == QString::fromLatin1( "Protocols" ) )
+				continue;
+
 			QString pluginName = (*it2)->pluginName();
 			bool inMap = pluginsMap.contains( pluginName );
 			if ( (inMap && pluginsMap[pluginName]) || (!inMap && (*it2)->isPluginEnabledByDefault()) )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic