forked from qt-creator/qt-creator
Valgrind: Introduce Frame::filePath().
Change-Id: I40d1b7f739ea905bbcca1a388bada3e077b7c137 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -43,8 +43,8 @@ namespace XmlProtocol {
|
||||
QString toolTipForFrame(const Frame &frame)
|
||||
{
|
||||
QString location;
|
||||
if (!frame.file().isEmpty()) {
|
||||
location = frame.directory() + QLatin1Char('/') + frame.file();
|
||||
if (!frame.fileName().isEmpty()) {
|
||||
location = frame.filePath();
|
||||
if (frame.line() > 0)
|
||||
location += QLatin1Char(':') + QString::number(frame.line());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user