diff --git a/src/gui/qt/log.cpp b/src/gui/qt/log.cpp index 55121d86..89a2e3ea 100644 --- a/src/gui/qt/log.cpp +++ b/src/gui/qt/log.cpp @@ -32,7 +32,8 @@ Log::Log(mainWindowImpl* w) : myW(w) myLogDir = new QDir(QString::fromStdString(myConfig->readConfigString("LogDir"))); #ifdef _WIN32 - cout << myLogDir->absolutePath()+"\\pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html" << endl; + QString temp = myLogDir->absolutePath()+"\\pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html"; + cout << temp.toStdString() << endl; myLogFile = new QFile(myLogDir->absolutePath()+"\\pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html"); #else myLogFile = new QFile(myLogDir->absolutePath()+"/pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html");