Fixing a typo that caused segfault, added a comment for reviewing config loading

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=864775
This commit is contained in:
Dario Freddi 2008-09-25 12:40:13 +00:00
parent eba90f900b
commit 9556863db5

View File

@ -312,7 +312,9 @@ RunnerManager::RunnerManager(KConfigGroup &c, QObject *parent)
: QObject(parent),
d(new RunnerManagerPrivate(this))
{
KConfigGroup config(&config, "PlasmaRunnerManager");
// Should this be really needed? Maybe d->loadConfiguration(c) would make
// more sense.
KConfigGroup config(&c, "PlasmaRunnerManager");
d->loadConfiguration(config);
//ThreadWeaver::setDebugLevel(true, 4);
}