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