mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
ad5f1682ee
commit
f367414297
1 changed files with 1 additions and 2 deletions
|
@ -21,7 +21,6 @@ public:
|
||||||
using MarbleWidget::centerOn;
|
using MarbleWidget::centerOn;
|
||||||
GlobeGPS(QWidget *parent = 0);
|
GlobeGPS(QWidget *parent = 0);
|
||||||
void reload();
|
void reload();
|
||||||
void centerOnCurrentDive();
|
|
||||||
bool eventFilter(QObject *, QEvent *);
|
bool eventFilter(QObject *, QEvent *);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -50,7 +49,7 @@ slots:
|
||||||
void zoomOutForNoGPS();
|
void zoomOutForNoGPS();
|
||||||
void prepareForGetDiveCoordinates();
|
void prepareForGetDiveCoordinates();
|
||||||
void endGetDiveCoordinates();
|
void endGetDiveCoordinates();
|
||||||
|
void centerOnCurrentDive();
|
||||||
};
|
};
|
||||||
|
|
||||||
#else // NO_MARBLE
|
#else // NO_MARBLE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue