Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-06 | Cleanup: use getDiveSelection() for shifting time | Berthold Stoeger | |
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> | |||
2019-11-14 | Refactoring: move undo commands to top level | Berthold Stoeger | |
In the future we might want to use undo-commands for mobile as well (even if not implementing undo). Therefore, move the undo-command source from desktop-widgets to their own commands top-level folder. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> |