diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-19 14:39:34 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-19 20:12:59 +0900 |
commit | a117428ff46b15f458cabf29c250b2e7d70cc31d (patch) | |
tree | c3e65296b3f3971398a527746f0dbe5550a98298 /qt-ui/profile/profilewidget2.h | |
parent | 419434f494e27979f4f904612d7f5be92451c54f (diff) | |
download | subsurface-a117428ff46b15f458cabf29c250b2e7d70cc31d.tar.gz |
Add ability to make a dive computer the first dive computer of a dive
If a dive has multiple dive computers we enable a special context menu
when the user right-clicks on the dive computer name AND is not already
showing the first dive computer. In that case we offer to make the
currently shown dive computer the first one.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.h')
-rw-r--r-- | qt-ui/profile/profilewidget2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index d00cb26c1..4517cc144 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -80,6 +80,7 @@ slots: // Necessary to call from QAction's signals. void unhideEvents(); void removeEvent(); void editName(); + void makeFirstDC(); protected: virtual void resizeEvent(QResizeEvent *event); |