diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-10-14 20:21:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-26 11:36:23 -0700 |
commit | a4ca3c520c7fbae5d1739a88e928a60585676ade (patch) | |
tree | e1479707f3baa70eb10841201583050c83b672c5 /mobile-widgets/qml/Log.qml | |
parent | 8dea2ada3bc9d0fcfbe1bb101ea079480dfdbe57 (diff) | |
download | subsurface-a4ca3c520c7fbae5d1739a88e928a60585676ade.tar.gz |
Undo: simplify profile repainting code
The profile repainting code that was called when a dive changed was
located in a separate function. Not only did it take a redundant
parameter, it also performed very weird stuff like entering and
exiting plan state. That did not work at all. Replace by a simple
call to plotDive() and things work much better.
There was a comment about DivePlannerPointsModel and profile
getting out of sync. So let's keep an eye out for that.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/qml/Log.qml')
0 files changed, 0 insertions, 0 deletions