mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
a?adido valor por defecto para la ruta de los ficheros de log
This commit is contained in:
parent
028b9fcf05
commit
3c3cbb7b31
@ -21,7 +21,7 @@ void FileLogger::refreshSettings() {
|
||||
|
||||
// Load new config settings
|
||||
settings->sync();
|
||||
fileName=settings->value("fileName").toString();
|
||||
fileName=settings->value("fileName","./server/logs/log.log").toString();
|
||||
// Convert relative fileName to absolute, based on the directory of the config file.
|
||||
#ifdef Q_OS_WIN32
|
||||
if (QDir::isRelativePath(fileName) && settings->format()!=QSettings::NativeFormat)
|
||||
|
Loading…
Reference in New Issue
Block a user