summaryrefslogtreecommitdiffstats
path: root/core/save-profiledata.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-13 22:48:18 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-09-14 13:20:59 +0200
commit6a9df3bba3021b95f354c0590c79a458dbeca45b (patch)
tree68c5adc6d6bf8ab26e5bb56139c22f2913e65a0f /core/save-profiledata.h
parent981c23070693b69a3b6a854a41cc91c8516abb95 (diff)
downloadsubsurface-6a9df3bba3021b95f354c0590c79a458dbeca45b.tar.gz
Mobile: transform DiveObjectHelper into value-type
Instead of handing a reference-to-dive to QML, prerender all the needed properties and store them as values in DiveObjectHelper. Exception: - date(): generated from timestamp - time(): generated from timestamp - cylinderList(): does not depend on dive anyway and should be made static. This hopefully avoids the random mobile crashes that we are seeing. Clearly, this code needs to be optimized, but it is a start. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/save-profiledata.h')
0 files changed, 0 insertions, 0 deletions