summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews
diff options
context:
space:
mode:
authorZhang Hao <zhanghao@uniontech.com>2022-01-20 09:32:24 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-01-21 00:57:15 +0000
commit60f21e96aeeda1e1b96b1abd91630a85ea5c1820 (patch)
tree9e1542575f034870fecd312ec7ebf5e2a2ef8ade /src/widgets/itemviews
parentb292928e35b9864c2c3a023f79b892f40b08cd86 (diff)
Enable QStyle::State_Horizontal when initializing QStyleOptionProgressBar
Since by default QStyleOptionProgressBar is initialized with initialize QStyle::State_Horizontal, the example shouldn't overwrite the state, and instead OR other states into it. Otherwise, the progressbar will be laid out vertically. Pick-to: 6.2 6.3 Fixes: QTBUG-100067 Change-Id: Ibebda48a297af4a621719673033f8199b8bc7984 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/itemviews')
0 files changed, 0 insertions, 0 deletions