qt5base-lts/tests/auto/widgets/dialogs/qprogressdialog
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
..
.gitignore
BLACKLIST Extend blacklisting for a few tests to include all macOS versions 2020-01-22 17:26:23 +01:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
tst_qprogressdialog.cpp Re-layout QProgressDialog when setting the cancel button 2021-04-19 09:22:04 +00:00