diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-05-02 22:41:24 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-11 12:06:19 -0700 |
commit | 48b8129137ed3db1c4b0940301c8bfc9662bcee3 (patch) | |
tree | 7bea0c3260f7e8a85928a5791a8eaf04ce191752 /map-widget/qmlmapwidgethelper.h | |
parent | 79f3000630d62ccd242b2edca1b4dd412bc5a74b (diff) | |
download | subsurface-48b8129137ed3db1c4b0940301c8bfc9662bcee3.tar.gz |
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>
Diffstat (limited to 'map-widget/qmlmapwidgethelper.h')
-rw-r--r-- | map-widget/qmlmapwidgethelper.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/map-widget/qmlmapwidgethelper.h b/map-widget/qmlmapwidgethelper.h index 2ea4959d6..d6dfa17a1 100644 --- a/map-widget/qmlmapwidgethelper.h +++ b/map-widget/qmlmapwidgethelper.h @@ -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(); }; |