diff options
-rw-r--r-- | framework/qml/ScrollHelper.qml | 2 | ||||
-rw-r--r-- | framework/qml/TreeView.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/qml/ScrollHelper.qml b/framework/qml/ScrollHelper.qml index b2f91201..76bcca47 100644 --- a/framework/qml/ScrollHelper.qml +++ b/framework/qml/ScrollHelper.qml | |||
@@ -90,7 +90,7 @@ MouseArea { | |||
90 | //How long the scrollbar will remain visible | 90 | //How long the scrollbar will remain visible |
91 | interval: 500 | 91 | interval: 500 |
92 | // Hide the scrollbars | 92 | // Hide the scrollbars |
93 | onTriggered: listView.cancelFlick(); | 93 | onTriggered: flickable.cancelFlick(); |
94 | } | 94 | } |
95 | } | 95 | } |
96 | 96 | ||
diff --git a/framework/qml/TreeView.qml b/framework/qml/TreeView.qml index aef0ee92..367fd3c3 100644 --- a/framework/qml/TreeView.qml +++ b/framework/qml/TreeView.qml | |||
@@ -36,7 +36,7 @@ TreeView { | |||
36 | model: root.model | 36 | model: root.model |
37 | //TODO once we don't loose focus to the next view | 37 | //TODO once we don't loose focus to the next view |
38 | // onCurrentChanged: { | 38 | // onCurrentChanged: { |
39 | // treeView.activated(selection.currentIndex) | 39 | // root.activated(selection.currentIndex) |
40 | // } | 40 | // } |
41 | } | 41 | } |
42 | 42 | ||
@@ -64,7 +64,7 @@ TreeView { | |||
64 | } | 64 | } |
65 | 65 | ||
66 | //Forward the signal because on a desktopsystem activated is only triggerd by double clicks | 66 | //Forward the signal because on a desktopsystem activated is only triggerd by double clicks |
67 | onClicked: treeView.activated(index) | 67 | onClicked: root.activated(index) |
68 | 68 | ||
69 | alternatingRowColors: false | 69 | alternatingRowColors: false |
70 | headerVisible: false | 70 | headerVisible: false |