From b7b156ece9492401f7bfe7676e7521f4cdd32905 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 28 Jan 2022 17:02:52 -0500 Subject: Re-enable status bar Re-enable the status bar Bluetooth and Wifi status monitoring via the libqtappfw provided objects, and also hook up the currently stubbed weather support so it'll start working if it is updated in libqtappfw. Bug-AGL: SPEC-4182 Signed-off-by: Scott Murray Change-Id: I3aeb98dc01c0bc09550824f44bcb1d40f324e49e --- homescreen/qml/StatusArea.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'homescreen/qml/StatusArea.qml') diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml index 87b27ad..4a8fbc0 100644 --- a/homescreen/qml/StatusArea.qml +++ b/homescreen/qml/StatusArea.qml @@ -30,7 +30,7 @@ Item { interval: 100; running: true; repeat: true; onTriggered: root.now = new Date } -/* + Connections { target: weather @@ -54,7 +54,7 @@ Item { temperature_item.text = temperature.split(".")[0] + '°F' } } -*/ + RowLayout { anchors.fill: parent spacing: 0 @@ -126,7 +126,6 @@ Item { fillMode: Image.PreserveAspectFit property string deviceName: "none" property bool connStatus: false -/* Connections { target: bluetooth @@ -134,9 +133,7 @@ Item { bt_icon.connStatus = state } } -*/ } -/* Repeater { model: StatusBarModel { objectName: "statusBar" } delegate: Image { @@ -146,7 +143,6 @@ Item { fillMode: Image.PreserveAspectFit } } -*/ } } } -- cgit 1.2.3-korg