Make the digiclock paint into contentsRect, not into geometry()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803608
This commit is contained in:
Sebastian Kügler 2008-05-03 13:21:16 +00:00
parent ee70465d89
commit f3cf6a2167

View File

@ -505,7 +505,6 @@ void Applet::setBackgroundHints(const BackgroundHints hints)
qreal left, top, right, bottom;
d->background->getMargins(left, top, right, bottom);
setContentsMargins(left, right, top, bottom);
QSizeF fitSize(left + right, top + bottom);
if (minimumSize().expandedTo(fitSize) != minimumSize()) {
setMinimumSize(minimumSize().expandedTo(fitSize));