[PATCH] Fix NO_USERMANUAL building for android

Anton Lundin glance at acc.umu.se
Sun Aug 24 14:43:43 PDT 2014


Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 qt-ui/mainwindow.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 4c70f5c..af8bc70 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -903,10 +903,12 @@ void MainWindow::closeEvent(QCloseEvent *event)
 		return;
 	}
 
+#ifndef NO_USERMANUAL
 	if (helpView && helpView->isVisible()) {
 		helpView->close();
 		helpView->deleteLater();
 	}
+#endif
 
 	if (yearlyStats && yearlyStats->isVisible()) {
 		yearlyStats->close();
-- 
1.9.1



More information about the subsurface mailing list