Output some kind of warning in case the writeConfig wasn't executed
It helps find what's going on when debugging and reduces magic. CCMAIL: aseigo@kde.org
This commit is contained in:
parent
cff944bfb8
commit
de51d8e4d2
@ -198,7 +198,8 @@ void AppletInterface::writeConfig(const QString &entry, const QVariant &value)
|
|||||||
config->blockSignals(false);
|
config->blockSignals(false);
|
||||||
m_appletScriptEngine->configNeedsSaving();
|
m_appletScriptEngine->configNeedsSaving();
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
kWarning() << "Couldn't find a configuration entry";
|
||||||
}
|
}
|
||||||
|
|
||||||
QScriptValue AppletInterface::readConfig(const QString &entry) const
|
QScriptValue AppletInterface::readConfig(const QString &entry) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user