subsurface/core/subsurface-qt
Berthold Stoeger 6a9df3bba3 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>
2019-09-14 13:20:59 +02:00
..
CylinderObjectHelper.cpp Cleanup: make cylinder_t argument to CylinderObjectHelper const 2019-09-14 13:20:59 +02:00
CylinderObjectHelper.h Cleanup: make cylinder_t argument to CylinderObjectHelper const 2019-09-14 13:20:59 +02:00
DiveListNotifier.cpp Dive list: implement proper Qt-model semantics for DiveTripModel 2018-10-11 16:22:27 -07:00
DiveListNotifier.h Cleanup: unify selection signals 2019-06-23 20:08:46 +02:00
DiveObjectHelper.cpp Mobile: transform DiveObjectHelper into value-type 2019-09-14 13:20:59 +02:00
DiveObjectHelper.h Mobile: transform DiveObjectHelper into value-type 2019-09-14 13:20:59 +02:00