start always with a default size, otherwise if an applet doesn't resize itself it will freeze plasma
svn path=/trunk/KDE/kdelibs/; revision=1186915
This commit is contained in:
parent
6907acbd11
commit
da9459d009
@ -2577,7 +2577,10 @@ void AppletPrivate::init(const QString &packagePath)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
size = appletDescription.property("X-Plasma-DefaultSize").toSize();
|
QVariant s = appletDescription.property("X-Plasma-DefaultSize");
|
||||||
|
if (s.isValid()) {
|
||||||
|
size = s.toSize();
|
||||||
|
}
|
||||||
//kDebug() << "size" << size;
|
//kDebug() << "size" << size;
|
||||||
q->resize(size);
|
q->resize(size);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user