From a99f124c4dc3cb8aff087e8ecc51a259d75f107c Mon Sep 17 00:00:00 2001 From: Andre Duffeck Date: Tue, 13 Nov 2007 07:40:21 +0000 Subject: [PATCH] Do not leave a gap if the applet does not have a configuration interface svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735974 --- applethandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applethandle.cpp b/applethandle.cpp index 63e0a9431..9f8e3abbb 100644 --- a/applethandle.cpp +++ b/applethandle.cpp @@ -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);