typo; use the value!

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=907291
This commit is contained in:
Aaron J. Seigo 2009-01-07 20:28:30 +00:00
parent bd9131acfa
commit 082e15e6f7

View File

@ -152,7 +152,7 @@ void AppletInterface::writeConfig(const QString &entry, const QVariant &value)
if (config) { if (config) {
KConfigSkeletonItem *item = config->findItemByName(entry); KConfigSkeletonItem *item = config->findItemByName(entry);
if (item) { if (item) {
item->setProperty(entry); item->setProperty(value);
m_appletScriptEngine->configNeedsSaving(); m_appletScriptEngine->configNeedsSaving();
} }
} }