Correctly read configuration for plugin selector.

The selector stores configuration in [Plugins] in KGlobal::config() while the 
code checked [PlasmaRunnerManager][Plugins]


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813544
This commit is contained in:
Ryan P. Bitanga 2008-05-28 03:54:34 +00:00
parent ff02a321c1
commit 8fd721a8c4

View File

@ -231,7 +231,7 @@ public:
KService::List offers = KServiceTypeTrader::self()->query("Plasma/Runner");
bool loadAll = config.readEntry("loadAll", false);
KConfigGroup conf(&config, "Plugins");
KConfigGroup conf(KGlobal::config(), "Plugins");
foreach (const KService::Ptr &service, offers) {
//kDebug() << "Loading runner: " << service->name() << service->storageId();