]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/ktooltip.cpp
use a smaller step size when using the scroll wheel
[dolphin.git] / src / ktooltip.cpp
index 39e06b4c7851c99e5d824c90acad4784b1bfaa2a..a0126fbffecdcc976660dd64b266aebcd3ab14ef 100644 (file)
@@ -150,11 +150,7 @@ void KToolTipDelegate::paint(QPainter *painter, const KStyleOptionToolTip *optio
     else
         path.addRect(option->rect.adjusted(0, 0, -1, -1));
 
-#if QT_VERSION >= 0x040400
     QColor color = option->palette.color(QPalette::ToolTipBase);
-#else
-    QColor color = option->palette.color(QPalette::Base);
-#endif
     QColor from = color.lighter(105);
     QColor to   = color.darker(120);