Fix NO_USERMANUAL building for android

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-08-24 23:43:43 +02:00 committed by Dirk Hohndel
parent 65eec59739
commit 0e91352e96

View file

@ -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();