diff options
author | sh kim <sukhyun.kim@nokia.com> | 2012-03-23 05:32:00 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 06:36:33 (GMT) |
commit | dc13840ca95d453be239d2f4e10ef9f2edaf6c3a (patch) | |
tree | 83e8f7f2177a5df2e8a96eab75ae1b070d5e2072 /examples | |
parent | 522af6576db6f1745ad67d1a896e8447e19a5cee (diff) | |
download | Qt-dc13840ca95d453be239d2f4e10ef9f2edaf6c3a.zip Qt-dc13840ca95d453be239d2f4e10ef9f2edaf6c3a.tar.gz Qt-dc13840ca95d453be239d2f4e10ef9f2edaf6c3a.tar.bz2 |
Fix TypeError
A example has errors about TypeError
Change-Id: Ie6e9c769e83c5a3410c1131383c50dfedb828c41
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/declarative/keyinteraction/focus/qml/focus/FocusCore/GridMenu.qml | 2 | ||||
-rw-r--r-- | examples/declarative/keyinteraction/focus/qml/focus/FocusCore/ListViewDelegate.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/keyinteraction/focus/qml/focus/FocusCore/GridMenu.qml b/examples/declarative/keyinteraction/focus/qml/focus/FocusCore/GridMenu.qml index 5343efd..5e78eda 100644 --- a/examples/declarative/keyinteraction/focus/qml/focus/FocusCore/GridMenu.qml +++ b/examples/declarative/keyinteraction/focus/qml/focus/FocusCore/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/qml/focus/FocusCore/ListViewDelegate.qml b/examples/declarative/keyinteraction/focus/qml/focus/FocusCore/ListViewDelegate.qml index 8f9701d..7af1fa0 100644 --- a/examples/declarative/keyinteraction/focus/qml/focus/FocusCore/ListViewDelegate.qml +++ b/examples/declarative/keyinteraction/focus/qml/focus/FocusCore/ListViewDelegate.qml @@ -68,7 +68,7 @@ Item { hoverEnabled: true onClicked: { - ListView.view.currentIndex = index + container.ListView.view.currentIndex = index container.forceActiveFocus() } } |