summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2018-04-08 22:09:26 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-05-14 23:47:00 +0300
commit6b0ecb012dcfe1945bedf38fe25f67a1d2c3c400 (patch)
treef074faf8ddbdeac480c70628e7003b343609c8e4 /profile-widget/profilewidget2.h
parent9c24d6bef816c05992c59b45d32fcb4fe256d5a3 (diff)
downloadsubsurface-6b0ecb012dcfe1945bedf38fe25f67a1d2c3c400.tar.gz
Place divemode changes in submenu of context menu
Also unify the repeated code in slots. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r--profile-widget/profilewidget2.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 65a7d99c5..d13ff194b 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -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();