summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-01 17:14:37 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-01 17:14:37 -0500
commit6c72a84e6e27b69e5c5e99cc4996d5a7e03c932e (patch)
tree127b652cf68cd8e57ae0b56a6fc25841a77df79d /src
parent679d4f0bcdd20ef467ee02b366bf024779950fc2 (diff)
downloadqt3-6c72a84e6e27b69e5c5e99cc4996d5a7e03c932e.tar.gz
qt3-6c72a84e6e27b69e5c5e99cc4996d5a7e03c932e.zip
Fix slider draw hang
Diffstat (limited to 'src')
-rw-r--r--src/styles/qcommonstyle.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/styles/qcommonstyle.cpp b/src/styles/qcommonstyle.cpp
index 4bb738a..3e61282 100644
--- a/src/styles/qcommonstyle.cpp
+++ b/src/styles/qcommonstyle.cpp
@@ -393,6 +393,8 @@ QStyleControlElementData populateControlElementDataFromWidget(const QWidget* wid
const QSlider *sl = dynamic_cast<const QSlider*>(widget);
if (sl) {
ceData.orientation = sl->orientation();
+ ceData.minSteps = sl->minValue();
+ ceData.maxSteps = sl->maxValue();
ceData.tickMarkSetting = sl->tickmarks();
ceData.tickInterval = sl->tickInterval();
ceData.currentStep = sl->value();