don't force a size, it overrides config values

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=908614
This commit is contained in:
Chani Armitage 2009-01-10 00:34:12 +00:00
parent c8dc2925f0
commit a242c26cab

View File

@ -347,7 +347,6 @@ bool SimpleJavaScriptApplet::init()
kDebug() << "ScriptName:" << applet()->name();
kDebug() << "ScriptCategory:" << applet()->category();
applet()->resize(200, 200);
QFile file(mainScript());
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
kWarning() << "Unable to load script file";