diff options
author | Jan Arve Sæther <jan-arve.saether@qt.io> | 2020-09-30 19:18:48 +0200 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@qt.io> | 2020-10-06 12:24:42 +0200 |
commit | d1b4b38046388d7823ec66e8875301dc70e0db0f (patch) | |
tree | 4e273b543e3069dcebd74161658744a9fe9bda61 /src/imports/nativestyle/items/qquickstyleitemspinbox.cpp | |
parent | 44b706274917af7836f4b5bdcd6b7975113a394f (diff) |
nativestyle: SpinBox on Windows
Change-Id: I334af68282a59099698e46020b0644318eae5cce
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/imports/nativestyle/items/qquickstyleitemspinbox.cpp')
-rw-r--r-- | src/imports/nativestyle/items/qquickstyleitemspinbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/nativestyle/items/qquickstyleitemspinbox.cpp b/src/imports/nativestyle/items/qquickstyleitemspinbox.cpp index bfce65bb..7bae2c8b 100644 --- a/src/imports/nativestyle/items/qquickstyleitemspinbox.cpp +++ b/src/imports/nativestyle/items/qquickstyleitemspinbox.cpp @@ -89,7 +89,7 @@ void QQuickStyleItemSpinBox::initStyleOption(QStyleOptionSpinBox &styleOption) styleOption.frame = true; break; case Up: - styleOption.subControls = QStyle::SC_SpinBoxUp; + styleOption.subControls = (QStyle::SC_SpinBoxUp | QStyle::SC_SpinBoxDown); break; case Down: styleOption.subControls = QStyle::SC_SpinBoxDown; |