diff --git a/applet.cpp b/applet.cpp index cbd260f8e..4131de2ef 100644 --- a/applet.cpp +++ b/applet.cpp @@ -1949,7 +1949,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;