From 0e91352e969bbd5afc9839c9f41e616f66bb3f35 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Sun, 24 Aug 2014 23:43:43 +0200 Subject: [PATCH] Fix NO_USERMANUAL building for android Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 4c70f5ca3..af8bc705c 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();