Commit 185412ce authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Remove QtQuick1-specific hack

Change-Id: I541fde69fcd337b5cf637b25dc0b610a956e65b9
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
parent 58a9b0c7
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment