From: Peter Penz Date: Thu, 13 Nov 2008 21:48:32 +0000 (+0000) Subject: minor fix when no desktop effects are enabled X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/d37f3963681c945efc7259480d1c7361a133b855 minor fix when no desktop effects are enabled svn path=/trunk/KDE/kdebase/apps/; revision=883941 --- 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);