From c1d871390c75e46bf2cbc71b38796b5c33e67c77 Mon Sep 17 00:00:00 2001 From: Johann Latocha Date: Mon, 30 Aug 2010 17:21:30 +0200 Subject: Defect #644 and cleanout some old code --- src/util/consoleLogger.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/util/consoleLogger.cpp') diff --git a/src/util/consoleLogger.cpp b/src/util/consoleLogger.cpp index ae29989..5d07dbe 100755 --- a/src/util/consoleLogger.cpp +++ b/src/util/consoleLogger.cpp @@ -233,14 +233,10 @@ void ConsoleLogger::_prepareLog() fullpath.append(_logName); _logFile.open(fullpath.toUtf8().data(), std::ofstream::out | std::ofstream::app); if (_logFile.good()) - { _logFileGood = true; - writeTerminal(QString("LogPath/Name changed to: ").append(fullpath)); - } else - { printf("ERROR: Logfile ( %s ) not accessible/found. Logs will not be available.\n", _logPath.toUtf8().data()); - } + _logFile.close(); } -- cgit v1.2.3-55-g7522