qt6-bb10/tests/auto/widgets
Qiang Li 777053cfff Re-layout QProgressDialog when setting the cancel button
Setting a cancel button on QProgressDialog more than once caused the layout
to be invalid. The layout was only applied when the dialog resizes or the
style changes, but not when a new cancel button is set.

The solution is to update the layout() before showing the dialog when adopting
new child widgets.

Fixes: QTBUG-19983
Pick-to: 6.0 6.1
Change-Id: Id8fb1ac56e94a9bd97d4559a2e8d4835856fd7d0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-04-19 09:22:04 +00:00
..
dialogs Re-layout QProgressDialog when setting the cancel button 2021-04-19 09:22:04 +00:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
itemviews Fix the crashes when animated QTreeWidgetItems are hidden 2021-03-08 12:31:13 +00:00
kernel Fix invalid pointer return with QGridLayout::itemAt(-1) 2021-03-22 18:47:36 +08:00
styles Set the PlaceholderText color in the palette from the stylesheet as well 2021-01-12 20:24:28 +01:00
util Remove the qmake project files 2021-01-07 15:32:28 +01:00
widgets Add the "Territory" enumerated type for QLocale 2021-04-15 20:17:49 +08:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00