From 2ef8b4cdc2b967f4906eeea173934b2b1e5c3441 Mon Sep 17 00:00:00 2001 From: doitux Date: Tue, 6 Feb 2007 01:10:25 +0000 Subject: [PATCH] --- src/gui/qt/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/log.cpp b/src/gui/qt/log.cpp index 836c5a50..7a2cb250 100644 --- a/src/gui/qt/log.cpp +++ b/src/gui/qt/log.cpp @@ -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