summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-06-07 18:25:30 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-06-07 21:39:52 -0700
commit00d5ab1bdcabca68b1a03c3d414e7a8cea4168ea (patch)
tree2cc9542b9fe4924f5440399f9915f3c19c8b1d98 /qt-ui/divelistview.h
parentef873b40821e3bc327b67ec980d1317112d2aa87 (diff)
downloadsubsurface-00d5ab1bdcabca68b1a03c3d414e7a8cea4168ea.tar.gz
Make a map ctrl-click toggle the selection state
This way the map selection works like normal selections do. Except we don't do "ranged" selections (shift-click) for fairly obvious reasons. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.h')
-rw-r--r--qt-ui/divelistview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.h b/qt-ui/divelistview.h
index a9b986f97..c578baa17 100644
--- a/qt-ui/divelistview.h
+++ b/qt-ui/divelistview.h
@@ -27,7 +27,7 @@ public:
void reload(DiveTripModel::Layout layout, bool forceSort = true);
bool eventFilter(QObject* , QEvent* );
void unselectDives();
- void selectDive(struct dive *, bool scrollto = false);
+ void selectDive(struct dive *, bool scrollto = false, bool toggle = false);
void contextMenuEvent(QContextMenuEvent *event);
public slots: