From 185412cee7ae1362d0a8b073d5dce590b3736ead Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 13 Nov 2015 15:39:52 +0100 Subject: [PATCH] QmlProfiler: Remove QtQuick1-specific hack Change-Id: I541fde69fcd337b5cf637b25dc0b610a956e65b9 Reviewed-by: Joerg Bornemann --- src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp b/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp index e29fd515486..22207df81c0 100644 --- a/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerdatamodel.cpp @@ -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::Iterator it = d->eventTypeIds.find(typeData);