registerSimpleAppletMetaTypes no longer calls registerNonGuiMetaTypes, so call it explicitly. the i/o example/test plasmoids work again.

svn path=/trunk/KDE/kdebase/runtime/; revision=1206672
This commit is contained in:
Aaron J. Seigo 2010-12-15 11:15:26 +00:00
parent ad61d813f7
commit 20d88def72

View File

@ -91,6 +91,7 @@ QScriptValue constructQRectFClass(QScriptEngine *engine);
QScriptValue constructQSizeFClass(QScriptEngine *engine);
QScriptValue constructQSizePolicyClass(QScriptEngine *engine);
QScriptValue constructTimerClass(QScriptEngine *engine);
void registerNonGuiMetaTypes(QScriptEngine *engine);
void registerSimpleAppletMetaTypes(QScriptEngine *engine);
KSharedPtr<UiLoader> SimpleJavaScriptApplet::s_widgetLoader;
@ -568,6 +569,7 @@ void SimpleJavaScriptApplet::setupObjects()
global.setProperty("FrameSvg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaFrameSvg));
global.setProperty("ExtenderItem", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaExtenderItem));
registerNonGuiMetaTypes(m_engine);
registerSimpleAppletMetaTypes(m_engine);
installWidgets(m_engine);
}