projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69186a0
)
QQuickItem: Support FocusReason in focusNextPrev
author
Liang Qi
<liang.qi@digia.com>
Mon, 18 Mar 2013 08:46:09 +0000
(09:46 +0100)
committer
The Qt Project
<gerrit-noreply@qt-project.org>
Mon, 18 Mar 2013 19:14:30 +0000
(20:14 +0100)
Change-Id: Ib1b69607e1b4b52bad6e382d8102a42553f13432
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/quick/items/qquickitem.cpp
patch
|
blob
|
history
diff --git
a/src/quick/items/qquickitem.cpp
b/src/quick/items/qquickitem.cpp
index
0b3d91f
..
d110a01
100644
(file)
--- a/
src/quick/items/qquickitem.cpp
+++ b/
src/quick/items/qquickitem.cpp
@@
-2114,7
+2114,7
@@
bool QQuickItemPrivate::focusNextPrev(QQuickItem *item, bool forward)
if (current == item)
return false;
- current->forceActiveFocus();
+ current->forceActiveFocus(
forward ? Qt::TabFocusReason : Qt::BacktabFocusReason
);
return true;
}