the event is called configchanged

svn path=/trunk/KDE/kdebase/runtime/; revision=1178639
This commit is contained in:
Marco Martin 2010-09-23 12:13:08 +00:00
parent 107a3d5758
commit 5b0441484c

View File

@ -138,7 +138,7 @@ void SimpleJavaScriptApplet::reportError(ScriptEnv *env, bool fatal)
void SimpleJavaScriptApplet::configChanged() void SimpleJavaScriptApplet::configChanged()
{ {
ScriptEnv *env = ScriptEnv::findScriptEnv(m_engine); ScriptEnv *env = ScriptEnv::findScriptEnv(m_engine);
if (!env || !env->callEventListeners("configchangd")) { if (!env || !env->callEventListeners("configchanged")) {
callPlasmoidFunction("configChanged", QScriptValueList(), env); callPlasmoidFunction("configChanged", QScriptValueList(), env);
} }
} }