This commit is contained in:
1 parent
76d3b9a3f4
commit
2ef8b4cdc2
1 file changed
+1
-1
+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