┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kformattedballoontipdelegate.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-11-13 22:45:09 +0000
committerPeter Penz <[email protected]>2008-11-13 22:45:09 +0000
commit06ccaaa84443ce90507fe5b26b87234e9526db9a (patch)
tree35484bb5845771b15d3baacc19b2cc3bcdc9c927 /src/kformattedballoontipdelegate.cpp
parent2bd97cd745bc7f08c1443c8917fde4e5ef25e7f1 (diff)
we can rely on having Qt 4.4 with KDE 4.2
svn path=/trunk/KDE/kdebase/apps/; revision=883983
Diffstat (limited to 'src/kformattedballoontipdelegate.cpp')
-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());