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/WorldClock | |
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/WorldClock')
-rw-r--r-- | examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml b/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml index a6e67e8c..e3da38c7 100644 --- a/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml +++ b/examples/quickcontrols2/wearable/qml/WorldClock/Clock.qml @@ -49,9 +49,11 @@ ****************************************************************************/ import QtQuick 2.7 +import QtQuick.Controls 2.0 as QQC2 +import ".." import "../Style" -Item { +SwipeViewPage { id: clock property int hours |