]> cloud.milkyroute.net Git - dolphin.git/commitdiff
minor fix when no desktop effects are enabled
authorPeter Penz <peter.penz19@gmail.com>
Thu, 13 Nov 2008 21:48:32 +0000 (21:48 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Thu, 13 Nov 2008 21:48:32 +0000 (21:48 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=883941

src/kformattedballoontipdelegate.cpp

index a37664b82b1cd5aab038094000e2b08c7217742b..dbcf52f8f04d88f7217376133bf5132b00b95033 100644 (file)
@@ -111,7 +111,7 @@ static inline void arc(QPainterPath &path, qreal cx, qreal cy, qreal radius, qre
 QPainterPath KFormattedBalloonTipDelegate::createPath(const KStyleOptionToolTip *option, QRect *contents) const
 {
     QPainterPath path;
-    QRect rect = option->rect.adjusted(0, 0, -1, -1);
+    QRect rect = option->rect;
     const qreal radius = 5;
 
     path.moveTo(rect.left(), rect.top() + radius);