diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-09-04 10:38:32 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-09-10 08:52:15 +0000 |
commit | b41a32bc8ed42001c59af22345af4b733398aa34 (patch) | |
tree | f0b205ee8b46cc94054e282150fab37ac3bdb81a /examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml | |
parent | c4012e9a25514a76ae8f826142a3a3b121c9f322 (diff) |
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 <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml')
-rw-r--r-- | examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml b/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml index 48f3a3d6..3ed59eb8 100644 --- a/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml +++ b/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml @@ -51,6 +51,7 @@ import QtQuick 2.7 import QtQuick.Controls 2.0 as QQC2 import Qt.labs.settings 1.0 +import ".." import "../Style" Item { @@ -68,7 +69,7 @@ Item { anchors.fill: parent - Item { + SwipeViewPage { id: settingsPage1 Column { @@ -102,7 +103,7 @@ Item { } } - Item { + SwipeViewPage { id: settingsPage2 Column { |