diff --git a/src/plugins/debugger/stackframe.cpp b/src/plugins/debugger/stackframe.cpp index 9a0797f8219..dc7e45dec68 100644 --- a/src/plugins/debugger/stackframe.cpp +++ b/src/plugins/debugger/stackframe.cpp @@ -35,6 +35,9 @@ #include #include +#include +#include + namespace Debugger { namespace Internal { @@ -78,12 +81,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 << "