diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-09-04 09:51:11 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-09-05 23:07:59 +0200 |
commit | d2cad026c7c354ee94595c3a5f99e046c437d2aa (patch) | |
tree | 1ec0e6deb084a49975c029f9957ea1c76b154293 /src | |
parent | ef8ca68406db9d9906c097fdd98cb519f3847d52 (diff) |
Add more QDialog unit test related to closing a dialog
QDialog today only hides itself during reject and accept, it doesn't
close itself properly. This is problematic, as it doesn't close the
QWindow.
However, fixing this behavior must not result in duplicate calls to
virtual function, or additional calls to virtual functions (such as
closeEvent) without explicitly flagging the change in the changelog.
Add more tests to document existing behavior so that we can identify
such changes and verify the desired side effects.
Pick-to: 6.2
Change-Id: I1f30701cd766eb3c7957751b51e8579d4542dd16
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions