From 113cb1acc0b6b44b416272ae417a3f35fba2cc83 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 30 Oct 2019 09:16:58 +0100 Subject: Mobile: use appendTextToLog to get timestamps in logs This helps tremendously when tracking down some problems. We should never use console.log. In the process this also updates a couple of the messages to be clearer. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveDetails.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qml/DiveDetails.qml') diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index db99879d4..e6862ac6a 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -247,7 +247,7 @@ Kirigami.Page { function startEditMode() { if (!currentItem.modelData) { - console.log("DiveDetails trying to access undefined currentItem.modelData") + manager.appendTextToLog("DiveDetails trying to access undefined currentItem.modelData") return } -- cgit v1.2.3-70-g09d2