summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-15 23:41:31 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commit8f52b129afdd258cf0689cd629a441ceb5eff198 (patch)
tree742ed8f5ba9a835680c6d008cb8241f8e18b4b67
parentae52e2a272b5274abbf6d9e73747ad058e43a734 (diff)
downloadsubsurface-8f52b129afdd258cf0689cd629a441ceb5eff198.tar.gz
mapwidget: add the placeholder repopulateLabels() method
Another placeholder for the Marble port. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r--desktop-widgets/mapwidget.cpp5
-rw-r--r--desktop-widgets/mapwidget.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp
index c083c5f73..e48cbf2d8 100644
--- a/desktop-widgets/mapwidget.cpp
+++ b/desktop-widgets/mapwidget.cpp
@@ -37,6 +37,11 @@ void MapWidget::centerOnIndex(const QModelIndex& idx)
centerOnDiveSite(ds);
}
+void MapWidget::repopulateLabels()
+{
+ // TODO;
+}
+
void MapWidget::reload()
{
// TODO;
diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h
index cdd117e8a..c4cbf3d75 100644
--- a/desktop-widgets/mapwidget.h
+++ b/desktop-widgets/mapwidget.h
@@ -24,6 +24,7 @@ public slots:
void centerOnDiveSite(struct dive_site *);
void centerOnIndex(const QModelIndex& idx);
void endGetDiveCoordinates();
+ void repopulateLabels();
private:
static MapWidget *m_instance;