summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mapwidget.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-05-02 22:41:24 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-05-11 12:06:19 -0700
commit48b8129137ed3db1c4b0940301c8bfc9662bcee3 (patch)
tree7bea0c3260f7e8a85928a5791a8eaf04ce191752 /desktop-widgets/mapwidget.h
parent79f3000630d62ccd242b2edca1b4dd412bc5a74b (diff)
downloadsubsurface-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 'desktop-widgets/mapwidget.h')
-rw-r--r--desktop-widgets/mapwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h
index 9d31aa75a..96da308d8 100644
--- a/desktop-widgets/mapwidget.h
+++ b/desktop-widgets/mapwidget.h
@@ -31,7 +31,7 @@ public slots:
void endGetDiveCoordinates();
void repopulateLabels();
void prepareForGetDiveCoordinates(struct dive_site *ds);
- void selectedDivesChanged(QList<int>);
+ void selectedDivesChanged(const QList<int> &);
void coordinatesChanged(struct dive_site *ds, const location_t &);
void doneLoading(QQuickWidget::Status status);
void diveSiteChanged(struct dive_site *ds, int field);