]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kformattedballoontipdelegate.cpp
use a smaller step size when using the scroll wheel
[dolphin.git] / src / kformattedballoontipdelegate.cpp
index d221f678615b2aaebb329988af3af6ea1d3b7e24..99fd4dfc17a5fd9c9c1f3f609da1e6f3167daab3 100644 (file)
@@ -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());