fix Applet::contentsRect()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692500
This commit is contained in:
parent
04d418f4a7
commit
1dede63a8f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user