summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorQiang Li <liqianga@uniontech.com>2021-04-14 11:15:46 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-04-19 09:22:04 +0000
commit777053cfff40570282e861527e0e52e22a359629 (patch)
tree8d99bfb117f5d2dccb79b8bb5acedb1ae8c0b53c /src/gui
parent82f8519b827ba7fd89f8168632461f47b09605a7 (diff)
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>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions