diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp index 5913d0c30d3..e8a4959ebcf 100644 --- a/src/plugins/debugger/stackhandler.cpp +++ b/src/plugins/debugger/stackhandler.cpp @@ -39,6 +39,9 @@ #include #include +#include +#include + namespace Debugger { namespace Internal { @@ -76,12 +79,14 @@ QString StackFrame::toString() const QString StackFrame::toToolTip() const { + const QString filePath = QDir::toNativeSeparators(file); QString res; QTextStream str(&res); str << "" << "" << "" - << "" + << "" << "" << "" << ""
" << StackHandler::tr("Address:") << "" << address << "
" << StackHandler::tr("Function:") << "" << function << "
" << StackHandler::tr("File:") << "" << QDir::toNativeSeparators(file) << "
" << StackHandler::tr("File:") << "" << filePath << "
" << StackHandler::tr("Line:") << "" << line << "
" << StackHandler::tr("From:") << "" << from << "
" << StackHandler::tr("To:") << "" << to << "