From e0f6b76f4b2bcd2f13d63b1c04481d0201dc93b1 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 11 Feb 2015 14:52:41 +0100 Subject: [PATCH] Port from deprecated KConfigLoader API Change-Id: I9fe88d2b0b16dab02e4e35af3d0e992cec0edb91 --- src/plasma/applet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plasma/applet.cpp b/src/plasma/applet.cpp index 3c0ffb12c..590befde1 100644 --- a/src/plasma/applet.cpp +++ b/src/plasma/applet.cpp @@ -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(); }