From 45e4839e1250c076942a5f9c2de69a9da5b501f2 Mon Sep 17 00:00:00 2001 From: Mikko Ahlroth Date: Sun, 15 Dec 2013 23:13:03 +0200 Subject: [PATCH] Disable debug outputs --- qml/harbour-sailtime.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qml/harbour-sailtime.qml b/qml/harbour-sailtime.qml index 148f8c3..c4ab7eb 100644 --- a/qml/harbour-sailtime.qml +++ b/qml/harbour-sailtime.qml @@ -29,17 +29,17 @@ ApplicationWindow id: secondpage onChangeTimer: { if (enabled) { - console.log("Starting timer") + //console.log("Starting timer") refreshTimer.start() } else { - console.log("Stopping timer") + //console.log("Stopping timer") refreshTimer.stop() } } onChangeInterval: { - console.log("Timer interval: " + interval) + //console.log("Timer interval: " + interval) refreshTimer.interval = interval * 60 * 1000 } } @@ -52,7 +52,7 @@ ApplicationWindow id: refreshTimer interval: secondpage.refreshInterval * 60 * 1000 onTriggered: { - console.log("Timer fired!") + //console.log("Timer fired!") updateDisplay() } repeat: true @@ -65,7 +65,7 @@ ApplicationWindow var uptime_re = /\d+:\d\d:\d\d up\s+(?:(\d+) days,\s+)?(?:(?:(\d+):(\d+))|(?:(\d?\d) min)),\s+(\d+) users?,\s+load average: (\d+).(\d\d), (\d+).(\d\d), (\d+).(\d\d)/; var match = uptime_str.match(uptime_re) - console.log(uptime_str) + //console.log(uptime_str) var days = match[1] if (days === undefined) {