summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/xmlprotocol/stackmodel.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2015-06-26 14:12:33 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2015-06-26 13:29:38 +0000
commiteb848eb89fdb17a1719cc4096386ae3f001f3b28 (patch)
tree01123548366c7b549ff5044d2c351c3070c561a8 /src/plugins/valgrind/xmlprotocol/stackmodel.cpp
parent36173e25ff767498e8bedbc67bef5d9ea880423f (diff)
downloadqt-creator-eb848eb89fdb17a1719cc4096386ae3f001f3b28.tar.gz
Valgrind: Introduce Frame::filePath().
Change-Id: I40d1b7f739ea905bbcca1a388bada3e077b7c137 Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/xmlprotocol/stackmodel.cpp')
-rw-r--r--src/plugins/valgrind/xmlprotocol/stackmodel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/valgrind/xmlprotocol/stackmodel.cpp b/src/plugins/valgrind/xmlprotocol/stackmodel.cpp
index 9ae8beb48e..5d806eca87 100644
--- a/src/plugins/valgrind/xmlprotocol/stackmodel.cpp
+++ b/src/plugins/valgrind/xmlprotocol/stackmodel.cpp
@@ -60,7 +60,7 @@ public:
static QString makeName(const Frame &frame)
{
const QString d = frame.directory();
- const QString f = frame.file();
+ const QString f = frame.fileName();
const QString fn = frame.functionName();
if (!fn.isEmpty())
return fn;
@@ -123,7 +123,7 @@ QVariant StackModel::data(const QModelIndex &index, int role) const
case DirectoryColumn:
return frame.directory();
case FileColumn:
- return frame.file();
+ return frame.fileName();
case LineColumn:
if (frame.line() > 0)
return frame.line();
@@ -139,7 +139,7 @@ QVariant StackModel::data(const QModelIndex &index, int role) const
case FunctionNameRole:
return frame.functionName();
case FileRole:
- return frame.file();
+ return frame.fileName();
case DirectoryRole:
return frame.directory();
case LineRole: