diff --git a/applet.cpp b/applet.cpp index ec7d2009a..6823231eb 100644 --- a/applet.cpp +++ b/applet.cpp @@ -935,7 +935,7 @@ QSizeF Applet::contentSize() const // kDebug() << "Geometry size: " << geometry().size(); // kDebug() << "Borders: " << left << top << right << bottom; - return geometry().size() - QSizeF(left + right, top + bottom); + return (geometry().size() - QSizeF(left + right, top + bottom)).expandedTo(QSizeF(0, 0)); } void Applet::setContentSize(const QSizeF &size)