subsurface/core/subsurface-qt
Berthold Stoeger 75be9e727d Mobile: properly recognize single-weightsystem dives
When removing the max-weightsystem restriction, the semantics of
the DiveObjectHelper::singleWeightSystem() function changed:
it now returned false for "no weightsystem". Change it back,
to 0 or 1 weightsystems, because the mobile frontend uses this
to check whether it can edit dive systems.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-08-11 12:23:33 -07:00
..
CylinderObjectHelper.cpp Cleanup: fold core/helpers.h into core/qthelper.h 2018-06-04 08:50:10 -07:00
CylinderObjectHelper.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07: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: properly recognize single-weightsystem dives 2019-08-11 12:23:33 -07:00
DiveObjectHelper.h Mobile: don't format trip heading for all dives 2018-11-23 13:22:24 -08:00