This commit is contained in:
doitux
2007-02-06 00:22:41 +00:00
parent 73f8725777
commit 595a820989
+2 -1
View File
@@ -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");