Commit 352ba112 authored by Harald Fernengel's avatar Harald Fernengel

Qt3 fix

svn path=/trunk/kdesdk/cervisia/; revision=121163
parent 8aa936a2
......@@ -411,7 +411,9 @@ void DiffZoomWidget::paintEvent(QPaintEvent *)
#if QT_VERSION < 300
style().scrollBarMetrics(bar, sliderMin, sliderMax, sliderLength, dummy);
#warning "// XXX: How do I do this with Qt 3? Help!"
sliderMin = style().pixelMetric(QStyle::PM_ScrollBarSliderMin, bar);
sliderLength = style().pixelMetric(QStyle::PM_SliderLength, bar);
sliderMax = style().pixelMetric(QStyle::PM_SliderSpaceAvailable, bar);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment