summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-06-03 23:07:54 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-03 21:35:08 -0700
commitf367414297b74633422cf414834e02f908892871 (patch)
tree73c66995e83ce0bae91e1248781c39f67730f164 /qt-ui
parentad5f1682ee753beeed1132225d7e11a1ee221b57 (diff)
downloadsubsurface-f367414297b74633422cf414834e02f908892871.tar.gz
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>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/globe.h3
1 files changed, 1 insertions, 2 deletions
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