mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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
|
|
@ -26,7 +26,7 @@ ServerLogger::~ServerLogger()
|
|||
void ServerLogger::startLog(const QString &logFileName)
|
||||
{
|
||||
if (!logFileName.isEmpty()) {
|
||||
logFile = new QFile("server.log", this);
|
||||
logFile = new QFile(logFileName, this);
|
||||
logFile->open(QIODevice::Append);
|
||||
#ifdef Q_OS_UNIX
|
||||
::socketpair(AF_UNIX, SOCK_STREAM, 0, sigHupFD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue