diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-08-24 23:43:43 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-25 13:54:20 -0700 |
commit | 0e91352e969bbd5afc9839c9f41e616f66bb3f35 (patch) | |
tree | 429f1d31967637d45df552b2d21756634a096b11 | |
parent | 65eec59739ca9cfe875a8787cef673d878e566b6 (diff) | |
download | subsurface-0e91352e969bbd5afc9839c9f41e616f66bb3f35.tar.gz |
Fix NO_USERMANUAL building for android
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |