summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r--qt-ui/globe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h
index e8be53b5e..a8cb89440 100644
--- a/qt-ui/globe.h
+++ b/qt-ui/globe.h
@@ -21,7 +21,7 @@ class GlobeGPS : public MarbleWidget {
Q_OBJECT
public:
using MarbleWidget::centerOn;
- GlobeGPS(QWidget *parent = 0);
+ static GlobeGPS *instance();
void reload();
bool eventFilter(QObject *, QEvent *);
@@ -38,6 +38,7 @@ private:
bool needResetZoom;
bool editingDiveLocation;
bool doubleClick;
+ GlobeGPS(QWidget *parent = 0);
signals:
void coordinatesChanged();