summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2017-01-28 12:16:45 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-28 07:20:03 -0800
commitb0ec7146a060b6326dd6347760ad010571707497 (patch)
tree0cef31ecc06f49ba1a7a9a5d7eaaf324a851369f /desktop-widgets/divelistview.cpp
parentc49f044645ec36e2103a307163d21da726541753 (diff)
downloadsubsurface-b0ec7146a060b6326dd6347760ad010571707497.tar.gz
Ignore double clicks on the divelist
Fixes #170 on GitHub Simple catch function for double click events in the divelist, prevents users from trying to edit the divenumber ithe wrong way. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'desktop-widgets/divelistview.cpp')
-rw-r--r--desktop-widgets/divelistview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp
index b6dfe1315..4a7a3cfda 100644
--- a/desktop-widgets/divelistview.cpp
+++ b/desktop-widgets/divelistview.cpp
@@ -1034,3 +1034,8 @@ void DiveListView::updateLastImageTimeOffset(const int offset)
s.beginGroup("MainWindow");
s.setValue("LastImageTimeOffset", offset);
}
+
+void DiveListView::mouseDoubleClickEvent(QMouseEvent * event)
+{
+ return;
+}