mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
Fix logfile option in servatrice.ini
servatrice was using hardcocded filename “server.log” even if a custom value was specified
This commit is contained in:
parent
8b32e51cab
commit
4b38187d20
2 changed files with 2 additions and 2 deletions
|
|
@ -173,7 +173,7 @@ int main(int argc, char *argv[])
|
|||
logger->moveToThread(loggerThread);
|
||||
|
||||
loggerThread->start();
|
||||
QMetaObject::invokeMethod(logger, "startLog", Qt::BlockingQueuedConnection, Q_ARG(QString, settingsCache->value("server/logfile").toString()));
|
||||
QMetaObject::invokeMethod(logger, "startLog", Qt::BlockingQueuedConnection, Q_ARG(QString, settingsCache->value("server/logfile", QString("server.log")).toString()));
|
||||
|
||||
#if QT_VERSION < 0x050000
|
||||
if (logToConsole)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue