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:
parent
6124183a72
commit
fb73ea9e37
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user