diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-01-03 17:50:28 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-01-06 13:31:26 +0000 |
commit | bc80cef1d4bb07605cba81de082625f07fc4136b (patch) | |
tree | 0d776ce4b59709ffa7cd1f7900782516e2836055 /tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp | |
parent | 8ad200dcb437ae6138dce39c260860db9c7aaa02 (diff) |
iOS: Limit duration of FirstResponderCandidate to becomeFirstResponder
We only need the FirstResponderCandidate for the duration of the call to
[super becomeFirstResponder]. Keeping it around longer means that when
emitting window activation events, which may result in changing the
first responder again, we may wrongly conclude that we're not allowed
to change the responder due to the FirstResponderCandidate still being
alive.
Change-Id: I8203e795cdde4128776283fe63a1907eb6ebc151
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/widgets/dialogs/qfiledialog/tst_qfiledialog.cpp')
0 files changed, 0 insertions, 0 deletions