Fix slider draw hang

pull/2/head
Timothy Pearson 12 years ago
parent 679d4f0bcd
commit 6c72a84e6e

@ -393,6 +393,8 @@ QStyleControlElementData populateControlElementDataFromWidget(const QWidget* wid
const QSlider *sl = dynamic_cast<const QSlider*>(widget); const QSlider *sl = dynamic_cast<const QSlider*>(widget);
if (sl) { if (sl) {
ceData.orientation = sl->orientation(); ceData.orientation = sl->orientation();
ceData.minSteps = sl->minValue();
ceData.maxSteps = sl->maxValue();
ceData.tickMarkSetting = sl->tickmarks(); ceData.tickMarkSetting = sl->tickmarks();
ceData.tickInterval = sl->tickInterval(); ceData.tickInterval = sl->tickInterval();
ceData.currentStep = sl->value(); ceData.currentStep = sl->value();

Loading…
Cancel
Save