diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-03-13 13:03:33 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-03-13 14:47:23 +0000 |
commit | f99863a7c9763e4602948783cba723bf24e8d455 (patch) | |
tree | a5c50a3ad5e43d47306a4088fe27ffb1b68716b7 /examples | |
parent | 1f989828a9a9b02e1e20da77803fec9c7e184dda (diff) |
Wearable: cleanup unnecessary currentIndex & clipping
Change-Id: Ic0071690388871fcbb09af5f3b7255f1a7f81bcd
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples')
8 files changed, 0 insertions, 15 deletions
diff --git a/examples/quickcontrols2/wearable/qml/Alarms/AlarmsPage.qml b/examples/quickcontrols2/wearable/qml/Alarms/AlarmsPage.qml index 70fe7874..dd0e36da 100644 --- a/examples/quickcontrols2/wearable/qml/Alarms/AlarmsPage.qml +++ b/examples/quickcontrols2/wearable/qml/Alarms/AlarmsPage.qml @@ -59,9 +59,6 @@ Item { anchors.fill: parent - clip: true - currentIndex: 0 - Item { id: alarmsPage1 diff --git a/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml b/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml index 6504c4b3..2f9f4615 100644 --- a/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml +++ b/examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml @@ -59,9 +59,6 @@ Item { anchors.fill: parent - clip: true - currentIndex: 0 - Item { id: fitnessPage1 diff --git a/examples/quickcontrols2/wearable/qml/LauncherPage.qml b/examples/quickcontrols2/wearable/qml/LauncherPage.qml index e6c1b534..6ff118df 100644 --- a/examples/quickcontrols2/wearable/qml/LauncherPage.qml +++ b/examples/quickcontrols2/wearable/qml/LauncherPage.qml @@ -63,7 +63,6 @@ PathView { readonly property int size: Math.min(width - 80, height) readonly property int radius: size / 2 - itemSize / 3 - currentIndex: 0 snapMode: PathView.SnapToItem model: ListModel { diff --git a/examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml b/examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml index 09b54bd2..7ecaa417 100644 --- a/examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml +++ b/examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml @@ -107,7 +107,6 @@ Item { focus: true boundsBehavior: Flickable.StopAtBounds snapMode: ListView.SnapToItem - currentIndex: 0 model: routeModel delegate: RouteElement {} } diff --git a/examples/quickcontrols2/wearable/qml/Notifications/NotificationsPage.qml b/examples/quickcontrols2/wearable/qml/Notifications/NotificationsPage.qml index 2758ef51..d2ca88a2 100644 --- a/examples/quickcontrols2/wearable/qml/Notifications/NotificationsPage.qml +++ b/examples/quickcontrols2/wearable/qml/Notifications/NotificationsPage.qml @@ -59,9 +59,6 @@ Item { anchors.fill: parent - clip: true - currentIndex: 0 - Item { id: notificationsPage1 diff --git a/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml b/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml index 69797f3a..47f09e38 100644 --- a/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml +++ b/examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml @@ -68,8 +68,6 @@ Item { anchors.fill: parent - currentIndex: 0 - Item { id: settingsPage1 diff --git a/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml b/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml index 0d4ebd01..88d5c133 100644 --- a/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml +++ b/examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml @@ -58,7 +58,6 @@ Item { id: svWeatherContainer anchors.fill: parent - currentIndex: 0 Item { id: weatherPage1 diff --git a/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml b/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml index a0f3d27d..5b8a0cd1 100644 --- a/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml +++ b/examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml @@ -57,7 +57,6 @@ Item { id: svWatchContainer anchors.fill: parent - currentIndex: 0 ListModel { id: placesList |