subsurface/mobile-widgets
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
..
qml Mobile: replace clear()/addAllDives() pairs by reload() 2019-09-14 13:20:59 +02:00
qmlmanager.cpp Mobile: transform DiveObjectHelper into value-type 2019-09-14 13:20:59 +02:00
qmlmanager.h Mobile: use value semantics for DiveObjectHelper in qmlmanager.cpp 2019-09-14 13:20:59 +02:00
qmlprefs.cpp Mobile: set units system in "No cloud mode" 2018-09-19 14:41:11 -07:00
qmlprefs.h mobile-widgets: replace qmlprefs::theme with qPrefDisplay::theme 2018-09-12 20:18:32 -07:00