This commit is contained in:
doitux
2007-02-06 01:10:25 +00:00
parent 76d3b9a3f4
commit 2ef8b4cdc2
+1 -1
View File
@@ -32,7 +32,7 @@ Log::Log(mainWindowImpl* w) : myW(w)
myLogDir = new QDir(QString::fromStdString(myConfig->readConfigString("LogDir")));
#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
myLogFile = new QFile(myLogDir->absolutePath()+"/pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html");
#endif