mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:23:23 +00:00
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:
parent
724772ef68
commit
237043d6ba
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue