diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-23 11:41:42 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-04-02 13:53:23 -0700 |
commit | d68c3d8ab5353ed736249d705e7683dc8f5d6062 (patch) | |
tree | 890a5b800e37d52c7c0669de09f72be42285c72c /tests/testmerge.cpp | |
parent | 5196ea6149a3c98a7c4e2db9aad8944fec825928 (diff) | |
download | subsurface-d68c3d8ab5353ed736249d705e7683dc8f5d6062.tar.gz |
cleanup: add DivePlannerPointsModel::addDefaultStop() function
When clicking on "+" in the planner, a default stop point was
added using a signal/slot connection. This used the archaic
string-based connect syntax, because it was realized with
default parameters passed to "addStop()". Instead, add a
"addDefaultStop()" slot, which passes the default parameters.
Since all other callers do not use callbacks, unslotify
"addStop()". The slot was the only user of the default parameters,
so they can be removed alltogether.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests/testmerge.cpp')
0 files changed, 0 insertions, 0 deletions