From b41a32bc8ed42001c59af22345af4b733398aa34 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 4 Sep 2018 10:38:32 +0200 Subject: wearable: fix items still being visible when returning to LauncherPage Hide SwipeView items when appropriate, as it's not done automatically. Change-Id: Ic716da004794b7d0eba65c220f6242d4113302d9 Reviewed-by: Richard Moe Gustavsen --- examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml') diff --git a/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml b/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml index b3b0a0c5..a9a1cb98 100644 --- a/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml +++ b/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml @@ -50,6 +50,7 @@ import QtQuick 2.7 import QtQuick.Controls 2.0 as QQ2 +import ".." import "../Style" import "fitness.js" as FitnessData @@ -59,7 +60,7 @@ Item { anchors.fill: parent - Item { + SwipeViewPage { id: fitnessPage1 Column { @@ -87,7 +88,7 @@ Item { } } - Item { + SwipeViewPage { id: fitnessPage2 Column { -- cgit v1.2.3