aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPLv3
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-07-27 09:55:37 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-09-02 17:06:50 +0200
commit0d3b8f832aad04c255dac64588b2693f2119cc0c (patch)
tree14150f63a8c34d9b50fc76a3b9001435b0f39b87 /LICENSE.LGPLv3
parent0e516bc9638d7b5ade38d356a304473af6adbc48 (diff)
Dialog: emit accepted()/rejected() before closed()
Before this patch, the documentation stated the following for e.g. accept(): "Closes the dialog and emits the accepted() signal." In practice, styles that have enter and/or exit transitions for Dialog result in closed() being emitted after accepted() (and rejected()). As there is no way to guarantee this particular order, we should be consistent and swap it around so that accepted()/rejected() are emitted first. [ChangeLog][Important Behavior Changes] Dialog's accepted() and rejected() signals are now emitted before closed() when calling done(), accept() and reject(). Fixes: QTBUG-85748 Change-Id: I706dda8de28c350d65e3188787af8f66a2c5f07d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions