fix Applet::contentsRect()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692500
This commit is contained in:
Andre Duffeck 2007-07-25 18:16:07 +00:00
parent 04d418f4a7
commit 1dede63a8f

View File

@ -513,7 +513,7 @@ QRect Applet::contentsRect() const
const int rightWidth = d->background->elementSize("right").width();
const int bottomHeight = d->background->elementSize("bottom").height();
rect.adjust(leftWidth, topHeight, 0 - leftWidth - rightWidth, 0 - topHeight - bottomHeight);
rect.adjust(leftWidth, topHeight, 0 - rightWidth, 0 - bottomHeight);
return rect;
}