From e2b8fa258a480fc63610fca12efe03d6b5530fdf Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 24 Sep 2008 18:13:21 +0000 Subject: [PATCH] use the config defined in the constructor for runner settings as well svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864402 --- runnermanager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runnermanager.cpp b/runnermanager.cpp index cd9f014d3..4eebbeaa5 100644 --- a/runnermanager.cpp +++ b/runnermanager.cpp @@ -223,7 +223,7 @@ public: KService::List offers = KServiceTypeTrader::self()->query("Plasma/Runner"); bool loadAll = config.readEntry("loadAll", false); - KConfigGroup conf(KGlobal::config(), "Plugins"); + KConfigGroup conf(&config, "Plugins"); foreach (const KService::Ptr &service, offers) { //kDebug() << "Loading runner: " << service->name() << service->storageId(); @@ -308,10 +308,11 @@ RunnerManager::RunnerManager(QObject *parent) } -RunnerManager::RunnerManager(KConfigGroup &config, QObject *parent) +RunnerManager::RunnerManager(KConfigGroup &c, QObject *parent) : QObject(parent), d(new RunnerManagerPrivate(this)) { + KConfigGroup config(&config, "PlasmaRunnerManager"); d->loadConfiguration(config); //ThreadWeaver::setDebugLevel(true, 4); }