aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mapwidget.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-15 23:34:44 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commit4334d334134784722f6e1a86da0ce0f132293531 (patch)
treef73b9e594f6a78db5664f50e9624a7a515be1b87 /desktop-widgets/mapwidget.h
parent0d3d9c01ebfa2476b9568b425de3edc3a9f0a730 (diff)
downloadsubsurface-4334d334134784722f6e1a86da0ce0f132293531.tar.gz
mapwidget: add the method centerOnIndex()
Again for the port from Marble, later can be removed / renamed. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets/mapwidget.h')
-rw-r--r--desktop-widgets/mapwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/mapwidget.h b/desktop-widgets/mapwidget.h
index 7a372f6ae..cdd117e8a 100644
--- a/desktop-widgets/mapwidget.h
+++ b/desktop-widgets/mapwidget.h
@@ -22,6 +22,7 @@ public:
public slots:
void centerOnDiveSite(struct dive_site *);
+ void centerOnIndex(const QModelIndex& idx);
void endGetDiveCoordinates();
private: