┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kformattedballoontipdelegate.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kformattedballoontipdelegate.cpp b/src/kformattedballoontipdelegate.cpp
index d221f6786..99fd4dfc1 100644
--- a/src/kformattedballoontipdelegate.cpp
+++ b/src/kformattedballoontipdelegate.cpp
@@ -57,11 +57,7 @@ void KFormattedBalloonTipDelegate::paint(QPainter *painter,
painter->translate(.5, .5);
}
-#if QT_VERSION >= 0x040400
const QColor toColor = option->palette.brush(QPalette::ToolTipBase).color();
-#else
- const QColor toColor = option->palette.brush(QPalette::Base).color();
-#endif
const QColor fromColor = KColorScheme::shade(toColor, KColorScheme::LightShade, 0.2);
QLinearGradient gradient(option->rect.topLeft(), option->rect.bottomLeft());