From f367414297b74633422cf414834e02f908892871 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 3 Jun 2015 23:07:54 -0300 Subject: centerOnCurrentDive needs to be a slot I'll connect this in the future with a few methods that will try to maintain state between dive changes. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/globe.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/globe.h b/qt-ui/globe.h index 5d25de3b0..4b4cb2efa 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -21,7 +21,6 @@ public: using MarbleWidget::centerOn; GlobeGPS(QWidget *parent = 0); void reload(); - void centerOnCurrentDive(); bool eventFilter(QObject *, QEvent *); protected: @@ -50,7 +49,7 @@ slots: void zoomOutForNoGPS(); void prepareForGetDiveCoordinates(); void endGetDiveCoordinates(); - + void centerOnCurrentDive(); }; #else // NO_MARBLE -- cgit v1.2.3-70-g09d2