Fix building with NO_PRINTING for Android

Back in 4867ee8ad8 ("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>
This commit is contained in:
Anton Lundin 2015-03-09 09:14:01 +01:00 committed by Dirk Hohndel
parent 724772ef68
commit 237043d6ba

View file

@ -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