subsurface/commands
Berthold Stoeger c495a49b1b Cleanup: use getDiveSelection() for shifting time
There are two cases where dive-times are shifted: in an explicit
dialog and when editing the date/time of a dive.

In each of these cases, the selected dives were collected manually.
Instead use the getDiveSelection() function. Since this returns
a std::vector, change the argument of Command::ShiftTime() to
such a std::vector.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-03-06 10:00:13 +01:00
..
CMakeLists.txt Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command.cpp Cleanup: use getDiveSelection() for shifting time 2020-03-06 10:00:13 +01:00
command.h Cleanup: use getDiveSelection() for shifting time 2020-03-06 10:00:13 +01:00
command_base.cpp Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
command_base.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_divelist.cpp Cleanup: use getDiveSelection() for shifting time 2020-03-06 10:00:13 +01:00
command_divelist.h Cleanup: use getDiveSelection() for shifting time 2020-03-06 10:00:13 +01:00
command_divesite.cpp Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
command_divesite.h Refactoring: move undo commands to top level 2019-11-14 21:02:07 +01:00
command_edit.cpp code cleanup: remove unused member variable 2020-01-10 02:37:03 +09:00
command_edit.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
command_edit_trip.cpp Selection: move commands/command_private.* to core/selection.* 2019-12-04 13:00:23 +01:00
command_edit_trip.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00