diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-01 17:14:37 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-01 17:14:37 -0500 |
commit | 6c72a84e6e27b69e5c5e99cc4996d5a7e03c932e (patch) | |
tree | 127b652cf68cd8e57ae0b56a6fc25841a77df79d /src/styles | |
parent | 679d4f0bcdd20ef467ee02b366bf024779950fc2 (diff) | |
download | qt3-6c72a84e6e27b69e5c5e99cc4996d5a7e03c932e.tar.gz qt3-6c72a84e6e27b69e5c5e99cc4996d5a7e03c932e.zip |
Fix slider draw hang
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/qcommonstyle.cpp | 2 |
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(); |