diff options
Diffstat (limited to 'src/kformattedballoontipdelegate.cpp')
| -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; } |
