summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-03-09 09:14:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-09 09:44:00 -0700
commit237043d6bacd904c58e466116d2cda683dfa63e7 (patch)
treef54db06a09a3827daa66d729caef70d3551e51a4
parent724772ef68c624f4491701e0260acfa90b5fe3a6 (diff)
downloadsubsurface-237043d6bacd904c58e466116d2cda683dfa63e7.tar.gz
Fix building with NO_PRINTING for Android
Back in 4867ee8ad87399f34a399f30def700b2fc045309 ("Move the Profile out of the mainwindow.ui") the way to access the PlannerDetails object changed. This does the corresponding change to the NO_PRINTING block, making it build on Android again. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 6ec4a35ed..aa708d051 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -134,7 +134,7 @@ MainWindow::MainWindow() : QMainWindow(),
connect(locationInformation, SIGNAL(informationManagementEnded()), information(), SLOT(showLocation()));
#ifdef NO_PRINTING
- ui.printPlan->hide();
+ plannerDetails->printPlan()->hide();
ui.menuFile->removeAction(ui.actionPrint);
#endif