diff options
-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(); |