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:
parent
c8dc2925f0
commit
a242c26cab
@ -347,7 +347,6 @@ bool SimpleJavaScriptApplet::init()
|
|||||||
kDebug() << "ScriptName:" << applet()->name();
|
kDebug() << "ScriptName:" << applet()->name();
|
||||||
kDebug() << "ScriptCategory:" << applet()->category();
|
kDebug() << "ScriptCategory:" << applet()->category();
|
||||||
|
|
||||||
applet()->resize(200, 200);
|
|
||||||
QFile file(mainScript());
|
QFile file(mainScript());
|
||||||
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||||
kWarning() << "Unable to load script file";
|
kWarning() << "Unable to load script file";
|
||||||
|
Loading…
Reference in New Issue
Block a user