diff options
| author | Peter Penz <[email protected]> | 2008-10-22 21:04:03 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-10-22 21:04:03 +0000 |
| commit | e028a702ff806c126cc6dab1dcf8cb6c92fbcead (patch) | |
| tree | 5a168eabef21fac73387080742103c16a12a2d2a /src | |
| parent | 0190459ebdc6d2d97a0cf35f8596a1f3aef7a9d7 (diff) | |
use a smaller radius for the tooltip borders to stay consistent with the Oxygen style
svn path=/trunk/KDE/kdebase/apps/; revision=874948
Diffstat (limited to 'src')
| -rw-r--r-- | src/kformattedballoontipdelegate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kformattedballoontipdelegate.cpp b/src/kformattedballoontipdelegate.cpp index 5df695ba6..141cc27f7 100644 --- a/src/kformattedballoontipdelegate.cpp +++ b/src/kformattedballoontipdelegate.cpp @@ -104,7 +104,7 @@ QPainterPath KFormattedBalloonTipDelegate::createPath(const KStyleOptionToolTip { QPainterPath path; QRect rect = option->rect.adjusted(0, 0, -1, -1); - qreal radius = 10; + const qreal radius = 5; path.moveTo(rect.left(), rect.top() + radius); arc(path, rect.left() + radius, rect.top() + radius, radius, 180, -90); @@ -114,7 +114,7 @@ QPainterPath KFormattedBalloonTipDelegate::createPath(const KStyleOptionToolTip path.closeSubpath(); if (contents) - *contents = rect.adjusted(10, 10, -10, -10); + *contents = rect.adjusted(radius, radius, -radius, -radius); return path; } |
