mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue