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

List:       kde-commits
Subject:    branches/KDE/3.5/kdenetwork/kopete/libkopete
From:       Will Stephenson <lists () stevello ! free-online ! co ! uk>
Date:       2005-08-18 15:06:33
Message-ID: 1124377593.367416.21673.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 450578 by wstephens:

Correct the problem that the code to ensure the default plugins are
loaded mean that they are always loaded.  The cause was an incorrect
check for existing plugin config which always failed and always loaded
the default plugins only.
CCMAIL:mattr@kde.org
CCMAIL:ogoffart@kde.org


 M  +1 -1      kopetepluginmanager.cpp  


--- branches/KDE/3.5/kdenetwork/kopete/libkopete/kopetepluginmanager.cpp #450577:450578
@@ -259,7 +259,7 @@
 	// FIXME: We need session management here - Martijn
 
 	KConfig *config = KGlobal::config();
-	if ( config->hasKey( QString::fromLatin1( "Plugins" ) ) )
+	if ( config->hasGroup( QString::fromLatin1( "Plugins" ) ) )
 	{
 		QMap<QString, QString> entries = config->entryMap( QString::fromLatin1( "Plugins" ) );
 		QMap<QString, QString>::Iterator it;
[prev in list] [next in list] [prev in thread] [next in thread] 

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