diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-28 16:58:58 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-29 18:49:46 +0200 |
| commit | 1f70c073d4325bc0eb9b0cec5156c3b89ce1b4df (patch) | |
| tree | e162a9fe518770210a7dedb1f091b0dbbef38103 /src/testlib/doc/snippets/code | |
| parent | 4a4283e3e98d779e6eb6cb47d408fe4fd402cdf8 (diff) | |
QMessageBox: Respect clients overriding QDialog::done()
As a result of d8bbb5ee0e60d44a70d29306e607a59caf7fe5bc, we
were no longer calling QDialog::done(), which users may have
overridden.
We now pull out the dialog code to determine whether to
emit accepted/rejected directly in done(), so that we
can go back to calling QDialog::done().
Pick-to: 6.6 6.5
Change-Id: Ie08270123d61d9010acd8c989b66986f71960ad0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/testlib/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
