mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +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; | 		return; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | #ifndef NO_USERMANUAL | ||||||
| 	if (helpView && helpView->isVisible()) { | 	if (helpView && helpView->isVisible()) { | ||||||
| 		helpView->close(); | 		helpView->close(); | ||||||
| 		helpView->deleteLater(); | 		helpView->deleteLater(); | ||||||
| 	} | 	} | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| 	if (yearlyStats && yearlyStats->isVisible()) { | 	if (yearlyStats && yearlyStats->isVisible()) { | ||||||
| 		yearlyStats->close(); | 		yearlyStats->close(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue