apparently it's bad to compare to QSize()

svn path=/trunk/KDE/kdelibs/; revision=908661
This commit is contained in:
Chani Armitage 2009-01-10 04:16:26 +00:00
parent ebfc550c11
commit c11707b2ce

View File

@ -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;