Cleanup: remove MapWidgetHelper::m_selectedDiveIds member

This member variable was only used locally in functions.
Accordingly, make it a function-local variable.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-05-02 22:41:24 +02:00 committed by Dirk Hohndel
parent 79f3000630
commit 48b8129137
4 changed files with 20 additions and 22 deletions

View file

@ -43,7 +43,6 @@ private:
QObject *m_map;
MapLocationModel *m_mapLocationModel;
qreal m_smallCircleRadius;
QList<int> m_selectedDiveIds;
bool m_editMode;
private slots:
@ -52,7 +51,7 @@ private slots:
signals:
void modelChanged();
void editModeChanged();
void selectedDivesChanged(QList<int> list);
void selectedDivesChanged(const QList<int> &list);
void coordinatesChanged(struct dive_site *ds, const location_t &);
void pluginObjectChanged();
};