summaryrefslogtreecommitdiffstats
path: root/src/controls/ScrollView.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-05-14 15:56:19 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-14 16:52:39 +0200
commit72232a9ba0fa0ac328d60f1a1c8965cb303f4a48 (patch)
tree99ba634f00d0bb9888dbba4d7d6493ff74b8a966 /src/controls/ScrollView.qml
parenteac7a36f006a4138af9ba5352aca1edf6105599d (diff)
Disable flicking on ScrollView
task-number: QTBUG-31121 We already handle MouseWheel events separately and we do generally not want to interact with the flickable. I don't know if we should somehow handle this differently on a mobile device but for now it seems sensible to disable it. Change-Id: I7dc30050efcedd8f670b3ecdc0a9915a692fd475 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/ScrollView.qml')
-rw-r--r--src/controls/ScrollView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/ScrollView.qml b/src/controls/ScrollView.qml
index a6d8a482c..4d06c3f3f 100644
--- a/src/controls/ScrollView.qml
+++ b/src/controls/ScrollView.qml
@@ -162,6 +162,7 @@ FocusScope {
contentItem.parent = internal.flickableItem.contentItem
}
internal.flickableItem.anchors.fill = viewportItem
+ internal.flickableItem.interactive = false
}