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. Change-Id: Ifdbaa9a25105fef0bb56dd28caee9af55cd74e67 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit cd9ae49962bbadf20c4b6599187b5a1bb0d8dc8a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%