diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-30 09:16:58 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-03 04:02:00 -0800 |
commit | 113cb1acc0b6b44b416272ae417a3f35fba2cc83 (patch) | |
tree | 7b8ec904fc7abaf21e6c31ef7a0b9553ad60dfde /mobile-widgets/qml/DiveDetails.qml | |
parent | 9c8fbe494db231b59c2e072b54af85bc217c00d8 (diff) | |
download | subsurface-113cb1acc0b6b44b416272ae417a3f35fba2cc83.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveDetails.qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |