summaryrefslogtreecommitdiff
path: root/metawatchwatchlets/metawatch-digital-watchface.qml
diff options
context:
space:
mode:
Diffstat (limited to 'metawatchwatchlets/metawatch-digital-watchface.qml')
-rw-r--r--metawatchwatchlets/metawatch-digital-watchface.qml20
1 files changed, 2 insertions, 18 deletions
diff --git a/metawatchwatchlets/metawatch-digital-watchface.qml b/metawatchwatchlets/metawatch-digital-watchface.qml
index 23236a6..a030bdb 100644
--- a/metawatchwatchlets/metawatch-digital-watchface.qml
+++ b/metawatchwatchlets/metawatch-digital-watchface.qml
@@ -5,13 +5,6 @@ import com.javispedro.sowatch.metawatch 1.0
MWPage {
id: page
- Connections {
- target: watch
- onActiveChanged: {
- console.log("watchface is now " + (watch.active ? "active" : "inactive"))
- }
- }
-
Column {
Item {
id: systemArea
@@ -30,6 +23,7 @@ MWPage {
Item {
width: page.width
height: 30
+ // TODO Weather stuff.
}
Image {
@@ -107,7 +101,7 @@ MWPage {
function updateWeather() {
var weather = notifications.getMostRecentByType(Notification.WeatherNotification);
if (typeof weather !== "undefined") {
- // TODO
+ // TODO Weather stuff
}
}
@@ -117,16 +111,6 @@ MWPage {
}
Connections {
- target: watch
- onActiveChanged: {
- if (watch.active) {
- console.log("watchface active");
- //updateUnreadCounts();
- }
- }
- }
-
- Connections {
target: notifications
onModelChanged: update();
}