summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2011-05-23 05:20:02 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2011-05-23 05:20:02 (GMT)
commit00a72cd1f5aff15d5a3a59d61efd2f5653d7dd34 (patch)
treeb3eaeb46c69f51d696bd405527ab22be38985258 /examples
parentacea7c9f5ece102f22d264834b6eece21020adf4 (diff)
downloadQt-00a72cd1f5aff15d5a3a59d61efd2f5653d7dd34.zip
Qt-00a72cd1f5aff15d5a3a59d61efd2f5653d7dd34.tar.gz
Qt-00a72cd1f5aff15d5a3a59d61efd2f5653d7dd34.tar.bz2
Fix QtDeclarative keyinteraction example
Task-number: QTBUG-19033
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/keyinteraction/focus/Core/GridMenu.qml2
-rw-r--r--examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/keyinteraction/focus/Core/GridMenu.qml b/examples/declarative/keyinteraction/focus/Core/GridMenu.qml
index f3894fb..224d38b 100644
--- a/examples/declarative/keyinteraction/focus/Core/GridMenu.qml
+++ b/examples/declarative/keyinteraction/focus/Core/GridMenu.qml
@@ -86,7 +86,7 @@ FocusScope {
hoverEnabled: true
onClicked: {
- GridView.view.currentIndex = index
+ container.GridView.view.currentIndex = index
container.forceActiveFocus()
}
}
diff --git a/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml b/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml
index 88c3624..8f9d022 100644
--- a/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml
+++ b/examples/declarative/keyinteraction/focus/Core/ListViewDelegate.qml
@@ -68,7 +68,7 @@ Item {
hoverEnabled: true
onClicked: {
- ListView.view.currentIndex = index
+ container.ListView.view.currentIndex = index
container.forceActiveFocus()
}
}