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 <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2015-06-03 23:07:54 -03:00 committed by Dirk Hohndel
parent ad5f1682ee
commit f367414297

View file

@ -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