From 006c9f17d4f35850ea390a665ac36b89e0e2706e Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sun, 18 Jul 2010 11:20:10 +0300 Subject: [PATCH] GUI: Avoid unnecessary path separator conversion. --- gui/threadresult.cpp | 2 +- lib/errorlogger.cpp | 5 +++-- lib/errorlogger.h | 14 +++++++++++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/gui/threadresult.cpp b/gui/threadresult.cpp index 571e7bd3c..3484cffd5 100644 --- a/gui/threadresult.cpp +++ b/gui/threadresult.cpp @@ -59,7 +59,7 @@ void ThreadResult::reportErr(const ErrorLogger::ErrorMessage &msg) tok != msg._callStack.end(); ++tok) { - files << QString((*tok).getfile().c_str()); + files << QString((*tok).getfile(false).c_str()); lines << (*tok).line; } diff --git a/lib/errorlogger.cpp b/lib/errorlogger.cpp index 64755a499..2b1fd8190 100644 --- a/lib/errorlogger.cpp +++ b/lib/errorlogger.cpp @@ -216,7 +216,7 @@ std::string ErrorLogger::callStackToString(const std::list