apparently it's bad to compare to QSize()
svn path=/trunk/KDE/kdelibs/; revision=908661
This commit is contained in:
parent
ebfc550c11
commit
c11707b2ce
@ -1949,7 +1949,7 @@ void AppletPrivate::setupScriptSupport()
|
|||||||
|
|
||||||
//set a default size before any saved settings are read
|
//set a default size before any saved settings are read
|
||||||
QSize size = appletDescription.property("X-Plasma-DefaultSize").toSize();
|
QSize size = appletDescription.property("X-Plasma-DefaultSize").toSize();
|
||||||
if (size == QSize()) {
|
if (size.isEmpty()) {
|
||||||
size = QSize(200,200);
|
size = QSize(200,200);
|
||||||
}
|
}
|
||||||
//kDebug() << "size" << size;
|
//kDebug() << "size" << size;
|
||||||
|
Loading…
Reference in New Issue
Block a user