diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-29 09:41:33 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-29 09:41:33 -0700 |
commit | 48c79d19b87d87d5e3ddfa1972aefdc99310dfc0 (patch) | |
tree | e18ad59709c37fb4de86a04cbcf815e60661229d /qt-ui/mainwindow.cpp | |
parent | ab6e2cc9b4b93aa9cc84d91fa2c9c76319e4f77c (diff) | |
download | subsurface-48c79d19b87d87d5e3ddfa1972aefdc99310dfc0.tar.gz |
Building without Marble: don't try to connect a signal to the globe
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 55ef51440..2ea4766ab 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -137,7 +137,9 @@ MainWindow::MainWindow() : QMainWindow(), connect(DivePlannerPointsModel::instance(), SIGNAL(planCreated()), this, SLOT(planCreated())); connect(DivePlannerPointsModel::instance(), SIGNAL(planCanceled()), this, SLOT(planCanceled())); connect(plannerDetails->printPlan(), SIGNAL(pressed()), divePlannerWidget(), SLOT(printDecoPlan())); +#ifndef NO_MARBLE connect(information(), SIGNAL(diveSiteChanged(uint32_t)), globeGps, SLOT(centerOnDiveSite(uint32_t))); +#endif wtu = new WindowTitleUpdate(); connect(WindowTitleUpdate::instance(), SIGNAL(updateTitle()), this, SLOT(setAutomaticTitle())); #ifdef NO_PRINTING |