From kde-commits Thu Aug 18 15:06:33 2005 From: Will Stephenson Date: Thu, 18 Aug 2005 15:06:33 +0000 To: kde-commits Subject: branches/KDE/3.5/kdenetwork/kopete/libkopete Message-Id: <1124377593.367416.21673.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112437764225495 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 entries = config->entryMap( QString::fromLatin1( "Plugins" ) ); QMap::Iterator it;