qt6-bb10/examples/network/torrent
Zhang Hao 60f21e96ae 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>
2022-01-21 00:57:15 +00:00
..
icons
CMakeLists.txt Examples: Fix whitespace issues in CMakeLists.txt 2021-12-13 14:16:26 +00:00
addtorrentdialog.cpp
addtorrentdialog.h
addtorrentform.ui Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
bencodeparser.cpp
bencodeparser.h
connectionmanager.cpp
connectionmanager.h
filemanager.cpp
filemanager.h
icons.qrc
main.cpp
mainwindow.cpp Enable QStyle::State_Horizontal when initializing QStyleOptionProgressBar 2022-01-21 00:57:15 +00:00
mainwindow.h
metainfo.cpp
metainfo.h
peerwireclient.cpp QAbstractSocket: Resolve remaining Qt6 TODOs 2020-08-24 17:43:56 +02:00
peerwireclient.h QAbstractSocket: Resolve remaining Qt6 TODOs 2020-08-24 17:43:56 +02:00
ratecontroller.cpp Torrent example: fix crash 2020-05-11 10:21:29 +02:00
ratecontroller.h
torrent.pro Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
torrentclient.cpp Remove unnecessary int() casting in QRandomGenerator::bounded 2021-03-17 06:21:52 +00:00
torrentclient.h
torrentserver.cpp
torrentserver.h
trackerclient.cpp
trackerclient.h