summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-31 11:01:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-31 11:01:57 -0700
commit3efafd1fde504a1e3ccd104fe53941a511ae3e09 (patch)
tree105992f812a81fd0a23fa46bcfb336279fec4ee2 /qt-ui/globe.h
parent21d8d26da160e7480d663d518e1b9d6b1fee2394 (diff)
downloadsubsurface-3efafd1fde504a1e3ccd104fe53941a511ae3e09.tar.gz
Enable building with NO_MARBLE again
This was broken in commit 7efa92406794 ("Transform GlobeGPS in a static instance() class"). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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 a8cb89440..8cc1265e4 100644
--- a/qt-ui/globe.h
+++ b/qt-ui/globe.h
@@ -63,7 +63,8 @@ slots:
class GlobeGPS : public QLabel {
Q_OBJECT
public:
- GlobeGPS(QWidget *parent);
+ GlobeGPS(QWidget *parent = 0);
+ static GlobeGPS *instance();
void reload();
void repopulateLabels();
void centerOnDiveSite(uint32_t uuid);