This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ Log::Log(mainWindowImpl* w) : myW(w)
|
|||||||
|
|
||||||
myLogDir = new QDir(QString::fromStdString(myConfig->readConfigString("LogDir")));
|
myLogDir = new QDir(QString::fromStdString(myConfig->readConfigString("LogDir")));
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
myLogFile = new QFile(myLogDir->absolutePath()+"\pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html");
|
myLogFile = new QFile(myLogDir->absolutePath().replace("\\","/")+"/pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html");
|
||||||
#else
|
#else
|
||||||
myLogFile = new QFile(myLogDir->absolutePath()+"/pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html");
|
myLogFile = new QFile(myLogDir->absolutePath()+"/pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user