This commit is contained in:
doitux
2007-02-06 00:16:50 +00:00
parent 4337e79672
commit 73f8725777
+1
View File
@@ -32,6 +32,7 @@ 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;
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");