diff options
Diffstat (limited to 'plugins/qmlprofiler/flamegraphmodel.cpp')
-rw-r--r-- | plugins/qmlprofiler/flamegraphmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/qmlprofiler/flamegraphmodel.cpp b/plugins/qmlprofiler/flamegraphmodel.cpp index 16783913e7..b31ad74938 100644 --- a/plugins/qmlprofiler/flamegraphmodel.cpp +++ b/plugins/qmlprofiler/flamegraphmodel.cpp @@ -231,6 +231,7 @@ QVariant FlameGraphModel::lookup(const FlameGraphData &stats, int role) const case Line: return type.location.line; case Column: return type.location.column; case Type: return nameForType(type.rangeType); + case RangeType: return type.rangeType; case Details: return type.data.isEmpty() ? FlameGraphModel::tr("Source code not available") : type.data; default: return QVariant(); @@ -320,6 +321,7 @@ QHash<int, QByteArray> FlameGraphModel::roleNames() const names[Note] = "note"; names[TimePerCall] = "timePerCall"; names[TimeInPercent] = "timeInPercent"; + names[RangeType] = "rangeType"; return names; } |