Use iconSize() function now that that function exists. This avoids having the margins in the dragger 2 pixels smaller then specified.

svn path=/trunk/KDE/kdelibs/; revision=894041
This commit is contained in:
Rob Scheepmaker 2008-12-07 18:28:26 +00:00
parent 7a90f822a5
commit 9116edc392

View File

@ -493,7 +493,7 @@ void ExtenderItem::resizeEvent(QGraphicsSceneResizeEvent *event)
//resize the dragger
d->dragger->resizeFrame(QSizeF(width - d->bgLeft - d->bgRight,
d->dragger->elementSize("hint-preferred-icon-size").height() +
d->iconSize() +
d->dragTop + d->dragBottom));
//resize the applet background