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
@ -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…
x
Reference in New Issue
Block a user