diff options
-rw-r--r-- | desktop-widgets/divelistview.cpp | 2 | ||||
-rw-r--r-- | desktop-widgets/divelistview.h | 1 |
2 files changed, 1 insertions, 2 deletions
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<int> expandedRows; DiveTripModelBase::Layout currentLayout; QModelIndex contextMenuIndex; |