forked from qt-creator/qt-creator
QmlProfiler: remove "Source code not available."
This string crops up in far too many places where it's not supposed to be. If we really need it we should add it to the views in the exact places where we want it instead of writing it into the model. Change-Id: I5f17a2aead7f6c2d42f485bf629baaf759e90547 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -451,7 +451,10 @@ void QmlProfilerFileWriter::save(QIODevice *device)
|
||||
stream.writeTextElement(_("line"), QString::number(event.location.line));
|
||||
stream.writeTextElement(_("column"), QString::number(event.location.column));
|
||||
}
|
||||
stream.writeTextElement(_("details"), event.data);
|
||||
|
||||
if (!event.data.isEmpty())
|
||||
stream.writeTextElement(_("details"), event.data);
|
||||
|
||||
if (event.rangeType == Binding)
|
||||
stream.writeTextElement(_("bindingType"), QString::number(event.detailType));
|
||||
if (event.message == Event && event.detailType == AnimationFrame)
|
||||
|
||||
Reference in New Issue
Block a user