summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DownloadedDiveDelegate.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-30 09:16:58 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-03 04:02:00 -0800
commit113cb1acc0b6b44b416272ae417a3f35fba2cc83 (patch)
tree7b8ec904fc7abaf21e6c31ef7a0b9553ad60dfde /mobile-widgets/qml/DownloadedDiveDelegate.qml
parent9c8fbe494db231b59c2e072b54af85bc217c00d8 (diff)
downloadsubsurface-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/DownloadedDiveDelegate.qml')
-rw-r--r--mobile-widgets/qml/DownloadedDiveDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadedDiveDelegate.qml b/mobile-widgets/qml/DownloadedDiveDelegate.qml
index d5674db6d..6a3136975 100644
--- a/mobile-widgets/qml/DownloadedDiveDelegate.qml
+++ b/mobile-widgets/qml/DownloadedDiveDelegate.qml
@@ -41,7 +41,7 @@ Kirigami.AbstractListItem {
height: childrenRect.heigh - Kirigami.Units.smallSpacing;
anchors.verticalCenter: parent.verticalCenter
onClicked: {
- console.log("Clicked on the checkbox of item " + index)
+ manager.appendTextToLog("Clicked on the checkbox of item " + index)
importModel.selectRow(index)
}
}