diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-07-27 09:55:37 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-09-02 17:06:50 +0200 |
commit | 0d3b8f832aad04c255dac64588b2693f2119cc0c (patch) | |
tree | 14150f63a8c34d9b50fc76a3b9001435b0f39b87 /src/quicktemplates2/configure.json | |
parent | 0e516bc9638d7b5ade38d356a304473af6adbc48 (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 'src/quicktemplates2/configure.json')
0 files changed, 0 insertions, 0 deletions