aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-09-14 19:43:40 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-21 16:12:23 -0700
commitce751bd6963d13c23f554da4e5fc66ee0d74eb1f (patch)
treedc327f225b49048cf605c4c7c51dc443be738a7d /mobile-widgets/qml
parent067a481b781b09d4f672733550eba987981ea8b6 (diff)
downloadsubsurface-ce751bd6963d13c23f554da4e5fc66ee0d74eb1f.tar.gz
Mobile: pass trip-ids through QML, not formatted pointers
The section heading in the QtQuick ListView has to be a string. Therefore, we passed a pointer formatted using hexadecimal notation. Later, that was converted back without being checked. A very scary proposition, so let's pass unique integer trip-id instead. This means that on converting back we have to scan the trip table, but that is a very minor cost comsidering to the gained robustness. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qml')
0 files changed, 0 insertions, 0 deletions