From f99863a7c9763e4602948783cba723bf24e8d455 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 13 Mar 2017 13:03:33 +0100 Subject: Wearable: cleanup unnecessary currentIndex & clipping Change-Id: Ic0071690388871fcbb09af5f3b7255f1a7f81bcd Reviewed-by: Mitch Curtis --- examples/quickcontrols2/wearable/qml/Alarms/AlarmsPage.qml | 3 --- examples/quickcontrols2/wearable/qml/Fitness/FitnessPage.qml | 3 --- examples/quickcontrols2/wearable/qml/LauncherPage.qml | 1 - examples/quickcontrols2/wearable/qml/Navigation/NavigationPage.qml | 1 - .../quickcontrols2/wearable/qml/Notifications/NotificationsPage.qml | 3 --- examples/quickcontrols2/wearable/qml/Settings/SettingsPage.qml | 2 -- examples/quickcontrols2/wearable/qml/Weather/WeatherPage.qml | 1 - examples/quickcontrols2/wearable/qml/WorldClock/WorldClockPage.qml | 1 - 8 files changed, 15 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3