From d37f3963681c945efc7259480d1c7361a133b855 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 13 Nov 2008 21:48:32 +0000 Subject: minor fix when no desktop effects are enabled svn path=/trunk/KDE/kdebase/apps/; revision=883941 --- src/kformattedballoontipdelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/kformattedballoontipdelegate.cpp b/src/kformattedballoontipdelegate.cpp index a37664b82..dbcf52f8f 100644 --- a/src/kformattedballoontipdelegate.cpp +++ b/src/kformattedballoontipdelegate.cpp @@ -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); -- cgit v1.3