diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-09-23 21:57:28 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-09-23 21:57:28 -0700 |
commit | be418458dbf4299ef289b2790ac36e3efa3b5261 (patch) | |
tree | 6867b015b11d323407955c5845b1461faec8bc18 /qt-ui/divelistview.h | |
parent | c6140c6e21aeff4c6e27e67bee407a1c3f552b18 (diff) | |
download | subsurface-be418458dbf4299ef289b2790ac36e3efa3b5261.tar.gz |
Add "merge selected dives" to dive list popup menu
This is fairly straight forward. What I dislike is the check for the magic
number of "14 indeces". I'm sure there's a better way to tell if more than
one dive is selected...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r-- | qt-ui/divelistview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h index 1faa3613a..1287349f4 100644 --- a/qt-ui/divelistview.h +++ b/qt-ui/divelistview.h @@ -42,6 +42,7 @@ public slots: void fixMessyQtModelBehaviour(); void mergeTripAbove(); void mergeTripBelow(); + void mergeDives(); signals: void currentDiveChanged(int divenr); |