summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZhang Hao <zhanghao@uniontech.com>2021-10-28 17:37:32 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-11-08 08:06:00 +0000
commitc0bc4c7638d8b7d46f8cb3175ddde2a59ca63983 (patch)
treed193c3812dbbc88583757f71f8e859143ab28c39 /bin
parent04ee5795cc31ee81fb0c27bf55d9e8f662995753 (diff)
downloadqtbase-c0bc4c7638d8b7d46f8cb3175ddde2a59ca63983.tar.gz
Initialize QStyleOptionProgressBar with QStyle::State_Horizontal
In Qt 5, QStyleOptionProgressBar::orientation was Qt::Horizontal by default. In Qt 6, we need to init state with QStyle::State_Horizontal so that code setting up a style option doesn't need to do so explicitly. Amends add8262f72befc4c6a25403a21269030111054d1 Pick-to: 6.2 Fixes: QTBUG-93412 Done-with: Volker Hilsheimer <volker.hilsheimer@qt.io> Change-Id: Iaa311cf0f4bab72c0bacbd8e698ba24660bca6b8 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions