use the config defined in the constructor for runner settings as well
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864402
This commit is contained in:
parent
7e975d764c
commit
e2b8fa258a
@ -223,7 +223,7 @@ public:
|
|||||||
KService::List offers = KServiceTypeTrader::self()->query("Plasma/Runner");
|
KService::List offers = KServiceTypeTrader::self()->query("Plasma/Runner");
|
||||||
|
|
||||||
bool loadAll = config.readEntry("loadAll", false);
|
bool loadAll = config.readEntry("loadAll", false);
|
||||||
KConfigGroup conf(KGlobal::config(), "Plugins");
|
KConfigGroup conf(&config, "Plugins");
|
||||||
|
|
||||||
foreach (const KService::Ptr &service, offers) {
|
foreach (const KService::Ptr &service, offers) {
|
||||||
//kDebug() << "Loading runner: " << service->name() << service->storageId();
|
//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),
|
: QObject(parent),
|
||||||
d(new RunnerManagerPrivate(this))
|
d(new RunnerManagerPrivate(this))
|
||||||
{
|
{
|
||||||
|
KConfigGroup config(&config, "PlasmaRunnerManager");
|
||||||
d->loadConfiguration(config);
|
d->loadConfiguration(config);
|
||||||
//ThreadWeaver::setDebugLevel(true, 4);
|
//ThreadWeaver::setDebugLevel(true, 4);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user