Place divemode changes in submenu of context menu

Also unify the repeated code in slots.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2018-04-08 22:09:26 +02:00 committed by Lubomir I. Ivanov
parent 9c24d6bef8
commit 6b0ecb012d
2 changed files with 35 additions and 32 deletions

View file

@ -115,9 +115,7 @@ slots: // Necessary to call from QAction's signals.
void changeGas();
void addSetpointChange();
void addBookmark();
void addOCSwitch();
void addCCRSwitch();
void addPSCRSwitch();
void addDivemodeSwith();
void hideEvents();
void unhideEvents();
void removeEvent();