fix button painting position when there is no configure button

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738758
This commit is contained in:
Aaron J. Seigo 2007-11-19 15:52:17 +00:00
parent 6124183a72
commit fb73ea9e37

View File

@ -164,9 +164,9 @@ void AppletHandle::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
if (m_applet->hasConfigurationInterface()) {
painter->drawPixmap(point + shiftC, KIcon("configure").pixmap(ICON_SIZE, ICON_SIZE));
point += QPointF(0.0, ICON_SIZE + ICON_MARGIN);
}
point += QPointF(0.0, ICON_SIZE + ICON_MARGIN);
painter->drawPixmap(point + shiftR, KIcon("transform-rotate").pixmap(ICON_SIZE, ICON_SIZE));
point += QPointF(0.0, ICON_SIZE + ICON_MARGIN * 2);