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 <[email protected]>
---
 qt-ui/mainwindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 6ec4a35..aa708d0 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
 
-- 
2.1.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to