mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	QML UI: provide information why logfile couldn't be written
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									b492df6ffc
								
							
						
					
					
						commit
						1161782f3b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -164,7 +164,8 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false), | ||||||
| 	if (!appLogFile.open(QIODevice::ReadWrite|QIODevice::Truncate)) { | 	if (!appLogFile.open(QIODevice::ReadWrite|QIODevice::Truncate)) { | ||||||
| 		appLogFileOpen = false; | 		appLogFileOpen = false; | ||||||
| 		appendTextToLog("Failed to open logfile " + appLogFileName | 		appendTextToLog("Failed to open logfile " + appLogFileName | ||||||
| 				+ " at " + QDateTime::currentDateTime().toString()); | 				+ " at " + QDateTime::currentDateTime().toString() | ||||||
|  | 				+ " error: " + appLogFile.errorString()); | ||||||
| 	} else { | 	} else { | ||||||
| 		appLogFileOpen = true; | 		appLogFileOpen = true; | ||||||
| 		appendTextToLog("Successfully opened logfile " + appLogFileName | 		appendTextToLog("Successfully opened logfile " + appLogFileName | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue