summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mapwidget.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-15 22:58:16 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commit39af5bb05ba551cc9591939e5d516932e9d8e250 (patch)
tree7b61ea229e85e2fe73a4ba2bf398256d1a780362 /desktop-widgets/mapwidget.cpp
parent86f4a26a8344b0d7585b58f24357e8f21748b34c (diff)
downloadsubsurface-39af5bb05ba551cc9591939e5d516932e9d8e250.tar.gz
mapwidget: add an empty reload() method
Call same method in MainWindow if the NO_MARBLE macro is defined. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets/mapwidget.cpp')
-rw-r--r--desktop-widgets/mapwidget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp
index 92c289051..315fd3336 100644
--- a/desktop-widgets/mapwidget.cpp
+++ b/desktop-widgets/mapwidget.cpp
@@ -27,6 +27,11 @@ void MapWidget::centerOnDiveSite(struct dive_site *ds)
qDebug() << longitude << latitude;
}
+void MapWidget::reload()
+{
+ // TODO;
+}
+
MapWidget::~MapWidget()
{
m_instance = NULL;