forked from qt-creator/qt-creator
QmlProfiler: Remove QtQuick1-specific hack
Change-Id: I541fde69fcd337b5cf637b25dc0b610a956e65b9 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -267,14 +267,6 @@ void QmlProfilerDataModel::addQmlEvent(QmlDebug::Message message, QmlDebug::Rang
|
||||
QString displayName;
|
||||
|
||||
QmlEventTypeData typeData = {displayName, location, message, rangeType, detailType, data};
|
||||
|
||||
// Special case for QtQuick 1 Compiling and Creating events: filename is in the "data" field.
|
||||
if ((rangeType == QmlDebug::Compiling || rangeType == QmlDebug::Creating) &&
|
||||
location.filename.isEmpty()) {
|
||||
typeData.location.filename = data;
|
||||
typeData.location.line = typeData.location.column = 1;
|
||||
}
|
||||
|
||||
QmlEventData eventData = {-1, startTime, duration, ndata1, ndata2, ndata3, ndata4, ndata5};
|
||||
|
||||
QHash<QmlEventTypeData, int>::Iterator it = d->eventTypeIds.find(typeData);
|
||||
|
Reference in New Issue
Block a user