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
84aaa236e5
commit
0093962cff
@ -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…
Reference in New Issue
Block a user