diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-10-14 11:00:35 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2015-10-14 12:10:33 +0000 |
commit | 4f3379352a265bab00a7265f85ffc38a9ca4ffe4 (patch) | |
tree | 19930057569fa270a8c8633172f5ff321543ecfc /src/qml/jsruntime/qv4debugging.cpp | |
parent | 5de27a90e5771535365bc2d1b5c1241368877bf8 (diff) |
QQuickItem: correct focus reason for key navigation
Before we used Qt::OtherFocusReason for normal key navigation, such
as up/down/left/right. But in style world, the reason is critical
for focus change.
Now we follow the way in widgets world, use Qt::TabFocusReason and
Qt::BacktabFocusReason for down/up and right/left(or reversed if
mirrored).
Task-number: QTBUG-41801
Change-Id: I99e97ea4ced2cef9b3280c578c3a463de8fe1727
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4debugging.cpp')
0 files changed, 0 insertions, 0 deletions