Port from deprecated KConfigLoader API
Change-Id: I9fe88d2b0b16dab02e4e35af3d0e992cec0edb91
This commit is contained in:
parent
685ee11822
commit
e0f6b76f4b
@ -156,7 +156,7 @@ void Applet::save(KConfigGroup &g) const
|
||||
// we're saving so we know its changed, we don't need or want the configChanged
|
||||
// signal bubbling up at this point due to that
|
||||
disconnect(d->configLoader, SIGNAL(configChanged()), this, SLOT(propagateConfigChanged()));
|
||||
d->configLoader->writeConfig();
|
||||
d->configLoader->save();
|
||||
connect(d->configLoader, SIGNAL(configChanged()), this, SLOT(propagateConfigChanged()));
|
||||
}
|
||||
}
|
||||
@ -669,7 +669,7 @@ void Applet::configChanged()
|
||||
{
|
||||
if (d->script) {
|
||||
if (d->configLoader) {
|
||||
d->configLoader->readConfig();
|
||||
d->configLoader->load();
|
||||
}
|
||||
d->script->configChanged();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user