diff options
author | Doris Verria <doris.verria@qt.io> | 2024-02-21 15:28:18 +0100 |
---|---|---|
committer | Doris Verria <doris.verria@qt.io> | 2024-05-02 09:59:36 +0200 |
commit | 3f3787a6b4f54f2603598e49eeebb58532aa2afa (patch) | |
tree | e29566feda11d0bb99d9db88e74f1bed6f442e9b /tests/auto/qml/qqmlxmllistmodel/data/attributes.qml | |
parent | 0cb899e21a26200a2a21ecc6868f77db5733134f (diff) |
If the focus chain wraps when tabbing (prev == last && next == first),
we need to give a chance to the parent window to gain focus so that
the focus can be passed to the next/prev object in the focus chain.
To give focus to the prev/next target, override new virtual
setFocusToTarget for QQuickWindowPrivate.
Task-number: QTBUG-121789
Change-Id: Ibe91af53ca622e7fe2b7fc662a95f1a5d7cb479b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlxmllistmodel/data/attributes.qml')
0 files changed, 0 insertions, 0 deletions