From be26b0bd9aa6817ea6aa5c374172fc9518379b55 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 28 Nov 2019 21:41:23 +0100 Subject: Cleanup: remove DiveListView::mouseClickSelection member variable That hasn't been used since 2013 (9cc04c1ca6). Signed-off-by: Berthold Stoeger --- desktop-widgets/divelistview.cpp | 2 +- desktop-widgets/divelistview.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'desktop-widgets') diff --git a/desktop-widgets/divelistview.cpp b/desktop-widgets/divelistview.cpp index 9a9bd3604..a4b5ad282 100644 --- a/desktop-widgets/divelistview.cpp +++ b/desktop-widgets/divelistview.cpp @@ -30,7 +30,7 @@ #include "desktop-widgets/simplewidgets.h" #include "desktop-widgets/mapwidget.h" -DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelection(false), +DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), currentLayout(DiveTripModelBase::TREE), initialColumnWidths(DiveTripModelBase::COLUMNS, 50) // Set up with default length 50 { diff --git a/desktop-widgets/divelistview.h b/desktop-widgets/divelistview.h index f4738e346..d4954ee86 100644 --- a/desktop-widgets/divelistview.h +++ b/desktop-widgets/divelistview.h @@ -69,7 +69,6 @@ private: void setSelection(const QRect &rect, QItemSelectionModel::SelectionFlags flags) override; void selectAll() override; void selectionChangeDone(); - bool mouseClickSelection; QList expandedRows; DiveTripModelBase::Layout currentLayout; QModelIndex contextMenuIndex; -- cgit v1.2.3-70-g09d2