This commit is contained in:
doitux
2007-02-06 00:43:33 +00:00
parent 595a820989
commit 59009e6786
+3 -3
View File
@@ -32,9 +32,9 @@ 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
QString temp = myLogDir->absolutePath()+"\\pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html"; // QString temp = myLogDir->absolutePath()+"\\pokerth-log-"+QDateTime::currentDateTime().toString("yyyy-MM-dd_hh:mm:ss")+".html";
cout << temp.toStdString() << endl; // cout << temp.toStdString() << endl;
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");
#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