diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-02-12 01:12:10 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-11 16:18:25 -0800 |
commit | fd1a33d9357cd1ff615d8008af7e82e75821c939 (patch) | |
tree | 60a3ac9aef7e706e9dd738b784e2814fe7ee864c | |
parent | dca78fe6fc16a1a995989d8b700b72749f44637c (diff) | |
download | subsurface-fd1a33d9357cd1ff615d8008af7e82e75821c939.tar.gz |
mainwindow.cpp: don't use ui.globePane
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/mainwindow.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index a0e4f128d..257f394d6 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -126,7 +126,6 @@ MainWindow::MainWindow() : QMainWindow(), divePlannerWidget()->settingsChanged(); divePlannerSettingsWidget()->settingsChanged(); #ifdef NO_MARBLE - ui.globePane->hide(); ui.menuView->removeAction(ui.actionViewGlobe); #else connect(globe(), SIGNAL(coordinatesChanged()), information(), SLOT(updateGpsCoordinates())); @@ -230,9 +229,6 @@ void MainWindow::refreshDisplay(bool doRecreateDiveList) globe()->reload(); if (doRecreateDiveList) recreateDiveList(); -#ifdef NO_MARBLE - ui.globePane->hide(); -#endif setApplicationState("Default"); dive_list()->setEnabled(true); @@ -556,9 +552,6 @@ void MainWindow::on_actionReplanDive_triggered() divePlannerWidget()->setReplanButton(true); DivePlannerPointsModel::instance()->loadFromDive(current_dive); reset_cylinders(&displayed_dive, true); -#ifdef NO_MARBLE - ui.globePane->show(); -#endif } void MainWindow::on_actionDivePlanner_triggered() @@ -578,10 +571,6 @@ void MainWindow::on_actionDivePlanner_triggered() DivePlannerPointsModel::instance()->createSimpleDive(); DivePictureModel::instance()->updateDivePictures(); divePlannerWidget()->setReplanButton(false); - -#ifdef NO_MARBLE - ui.globePane->show(); -#endif } DivePlannerWidget* MainWindow::divePlannerWidget() { |