summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2015-07-30 21:51:38 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-31 10:28:17 -0700
commit7efa924067942e6ad32894454e90bf7c5c99a5ae (patch)
treee2b55d2ed2811fa54fd3ddee7315f7e8e15b4d4f /qt-ui/mainwindow.h
parent9130ff8a97ea73e92dccd68f8107f441cb0a3f7e (diff)
downloadsubsurface-7efa924067942e6ad32894454e90bf7c5c99a5ae.tar.gz
Transform GlobeGPS in a static instance() class
This is needed to start easing the transition from the completely wrong and bogus MainWindow::instance()->globe() calls. this is still wrong, but with it I removed one level of indirection. I did that now because I wanted to not taint the location management when I use it to deal with the globe. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index f3a0f221b..583dc591a 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -26,7 +26,6 @@ class Stats;
class Equipment;
class QItemSelection;
class DiveListView;
-class GlobeGPS;
class MainTab;
class ProfileGraphicsView;
class QWebView;
@@ -69,7 +68,6 @@ public:
void addRecentFile(const QStringList &newFiles);
void removeRecentFile(QStringList failedFiles);
DiveListView *dive_list();
- GlobeGPS *globe();
DivePlannerWidget *divePlannerWidget();
PlannerSettingsWidget *divePlannerSettingsWidget();
LocationInformationWidget *locationInformationWidget();