aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/divelistview.cpp5
-rw-r--r--desktop-widgets/divelistview.h1
2 files changed, 6 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;
+}
diff --git a/desktop-widgets/divelistview.h b/desktop-widgets/divelistview.h
index 2554725b7..fc8e48f31 100644
--- a/desktop-widgets/divelistview.h
+++ b/desktop-widgets/divelistview.h
@@ -21,6 +21,7 @@ class DiveListView : public QTreeView {
public:
DiveListView(QWidget *parent = 0);
~DiveListView();
+ void mouseDoubleClickEvent(QMouseEvent * event);
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
void currentChanged(const QModelIndex &current, const QModelIndex &previous);
void reload(DiveTripModel::Layout layout, bool forceSort = true);