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:
Andre Duffeck 2007-11-13 07:40:21 +00:00
parent e59c8c7241
commit a99f124c4d

View File

@ -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);