Svg and FrameSvg; the Plasma prefix seems superfluous, but keep them for compatibility
svn path=/trunk/KDE/kdebase/runtime/; revision=1054889
This commit is contained in:
parent
9b44b1b751
commit
b0287c853b
@ -566,6 +566,8 @@ void SimpleJavaScriptApplet::setupObjects()
|
||||
// Add stuff from Plasma
|
||||
global.setProperty("PlasmaSvg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaSvg));
|
||||
global.setProperty("PlasmaFrameSvg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaFrameSvg));
|
||||
global.setProperty("Svg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaSvg));
|
||||
global.setProperty("FrameSvg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaFrameSvg));
|
||||
|
||||
installWidgets(m_engine);
|
||||
}
|
||||
@ -917,7 +919,6 @@ QScriptValue SimpleJavaScriptApplet::variantToScriptValue(QVariant var)
|
||||
|
||||
void SimpleJavaScriptApplet::collectGarbage()
|
||||
{
|
||||
kDebug();
|
||||
m_engine->collectGarbage();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user