mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +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)) {
|
||||
appLogFileOpen = false;
|
||||
appendTextToLog("Failed to open logfile " + appLogFileName
|
||||
+ " at " + QDateTime::currentDateTime().toString());
|
||||
+ " at " + QDateTime::currentDateTime().toString()
|
||||
+ " error: " + appLogFile.errorString());
|
||||
} else {
|
||||
appLogFileOpen = true;
|
||||
appendTextToLog("Successfully opened logfile " + appLogFileName
|
||||
|
|
Loading…
Add table
Reference in a new issue