aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-11-02 15:01:21 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2016-11-02 15:24:39 +0000
commitb02a9febe602662d30f5e9b4169b461bbf2cbc0c (patch)
treeef571f2b82f0016671ad91d7cd9eb3d6b52beeb7 /src/imports
parentee7151d5ab29ba812a93c1231ddc59c9129a7af0 (diff)
SwipeView: fix accessibility support
Don't specify the role in QML, because using the Accessible attached property creates a hard dependency to the accessibility feature (the QML code won't run when QT_NO_ACCESSIBILITY is defined). Change-Id: Ie540c915547fae94705873292368652e3608c9e7 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports')
-rw-r--r--src/imports/controls/SwipeView.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/imports/controls/SwipeView.qml b/src/imports/controls/SwipeView.qml
index 48147d86..c4e5a570 100644
--- a/src/imports/controls/SwipeView.qml
+++ b/src/imports/controls/SwipeView.qml
@@ -46,8 +46,6 @@ T.SwipeView {
implicitHeight: Math.max(background ? background.implicitHeight : 0,
contentItem.implicitHeight + topPadding + bottomPadding)
- Accessible.role: Accessible.PageTabList
-
contentItem: ListView {
model: control.contentModel
currentIndex: control.currentIndex