From 595a8209892188280e8586a01995e862928b5896 Mon Sep 17 00:00:00 2001 From: doitux Date: Tue, 6 Feb 2007 00:22:41 +0000 Subject: [PATCH] --- src/gui/qt/log.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/qt/log.cpp b/src/gui/qt/log.cpp index 55121d86..89a2e3ea 100644 --- a/src/gui/qt/log.cpp +++ b/src/gui/qt/log.cpp @@ -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");