forked from qt-creator/qt-creator
QmlProfiler: Make members of QmlEventLocation private
You should not change them independently as that is error-prone. Change-Id: I07890a29b045492fe804b9537094dea763bc1b8d Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -131,9 +131,9 @@ QVariantMap QmlProfilerTimelineModel::locationFromTypeId(int index) const
|
||||
|
||||
const QmlEventLocation &location = types.at(id).location;
|
||||
|
||||
result.insert(QStringLiteral("file"), location.filename);
|
||||
result.insert(QStringLiteral("line"), location.line);
|
||||
result.insert(QStringLiteral("column"), location.column);
|
||||
result.insert(QStringLiteral("file"), location.filename());
|
||||
result.insert(QStringLiteral("line"), location.line());
|
||||
result.insert(QStringLiteral("column"), location.column());
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user