diff options
| author | Peter Penz <[email protected]> | 2008-11-13 21:48:32 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-11-13 21:48:32 +0000 |
| commit | d37f3963681c945efc7259480d1c7361a133b855 (patch) | |
| tree | 75cf880436e05332c406428b8b159e2d3394c85e /src | |
| parent | aece194dbb9ab0d3dc54a66999bb2d36993c1fe9 (diff) | |
minor fix when no desktop effects are enabled
svn path=/trunk/KDE/kdebase/apps/; revision=883941
Diffstat (limited to 'src')
| -rw-r--r-- | src/kformattedballoontipdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
