forked from qt-creator/qt-creator
QmlProfiler: Clean up the state widget
Ultimately we want this as jobs for the progress manager, but let's get the logic right before. The state widget should not estimate profiling times and it doesn't have to keep local copies of all the state the model and state managers already have. Also, we need an additional indication for "waiting for application to send data", as that can take significant time. Change-Id: I3677dea4b0561bc83a7bc3c196ce0854c5624f12 Task-number: QTCREATORBUG-12958 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -322,11 +322,6 @@ const char *QmlProfilerModelManager::featureName(QmlDebug::ProfileFeature featur
|
||||
return ProfileFeatureNames[feature];
|
||||
}
|
||||
|
||||
void QmlProfilerModelManager::newTimeEstimation(qint64 estimation)
|
||||
{
|
||||
d->traceTime->increaseEndTime(d->traceTime->startTime() + estimation);
|
||||
}
|
||||
|
||||
void QmlProfilerModelManager::addQmlEvent(QmlDebug::Message message,
|
||||
QmlDebug::RangeType rangeType,
|
||||
int detailType,
|
||||
|
Reference in New Issue
Block a user