diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-28 15:03:11 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-29 18:49:46 +0200 |
| commit | cd9ae49962bbadf20c4b6599187b5a1bb0d8dc8a (patch) | |
| tree | 223a14e6c09d4c100dbf3806485fc1ede8ce5777 /src/testlib/doc/snippets/code | |
| parent | 49ce711796c2f10dfe658cc77b81db1f2d1b25f7 (diff) | |
QMessageBox: Set clicked button for native dialogs in clicked callback
For non-native dialogs we set the clicked button before calling finalize,
which emits finished(). We did the same for custom buttons in native
dialogs, but for standard buttons in native dialogs we deferred it
until QMessageBoxPrivate::helperDone, which meant that during the
finished() signal the button was not set.
We now set the button as early as possible for all three cases.
Pick-to: 6.6 6.5
Change-Id: Ifdbaa9a25105fef0bb56dd28caee9af55cd74e67
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/testlib/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
