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>
This commit is contained in:
Dirk Hohndel 2019-10-30 09:16:58 +01:00
parent 9c8fbe494d
commit 113cb1acc0
6 changed files with 30 additions and 30 deletions

View file

@ -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)
}
}