From 237043d6bacd904c58e466116d2cda683dfa63e7 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Mon, 9 Mar 2015 09:14:01 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui') 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 -- cgit v1.2.3-70-g09d2