diff options
Diffstat (limited to 'qt-ui/globe.cpp')
-rw-r--r-- | qt-ui/globe.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 4f40e22ec..aceeed9ab 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -390,6 +390,12 @@ void GlobeGPS::centerOnIndex(const QModelIndex& idx) } #else +GlobeGPS *GlobeGPS::instance() +{ + static GlobeGPS *self = new GlobeGPS(); + return self; +} + GlobeGPS::GlobeGPS(QWidget *parent) { setText("MARBLE DISABLED AT BUILD TIME"); |