From b02a9febe602662d30f5e9b4169b461bbf2cbc0c Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 2 Nov 2016 15:01:21 +0100 Subject: 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 --- src/imports/controls/SwipeView.qml | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/imports/controls/SwipeView.qml') 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 -- cgit v1.2.3