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:
parent
65eec59739
commit
0e91352e96
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user