Do not leave a gap if the applet does not have a configuration
interface svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735974
This commit is contained in:
parent
e59c8c7241
commit
a99f124c4d
@ -138,8 +138,8 @@ void AppletHandle::paint(QPainter *painter, const QStyleOptionGraphicsItem *opti
|
||||
}
|
||||
|
||||
painter->drawPixmap(point+shiftM, KIcon("exec").pixmap(32,32)); // FIXME: I'd like a "transform-move" here
|
||||
point+=QPointF(0.0, 42.0);
|
||||
if (m_applet->hasConfigurationInterface()) {
|
||||
point+=QPointF(0.0, 42.0);
|
||||
painter->drawPixmap(point+shiftC, KIcon("configure").pixmap(32,32));
|
||||
}
|
||||
point+=QPointF(0.0, 42.0);
|
||||
|
Loading…
Reference in New Issue
Block a user