Cleanup: remove DiveListView::mouseClickSelection member variable

That hasn't been used since 2013 (9cc04c1ca6).

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-11-28 21:41:23 +01:00 committed by bstoeger
parent 75dac8906e
commit be26b0bd9a
2 changed files with 1 additions and 2 deletions

View file

@ -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
{

View file

@ -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;