diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-09-01 10:14:47 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-09-01 10:17:22 +0000 |
commit | b054fd85420d9726027772aaec93d21ac64c2985 (patch) | |
tree | fd9c3a3375826357e2398f938354faac69dc4e2a /src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp | |
parent | 1caa899b8df94b075dfc2012c7a6ceb679639f9b (diff) |
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>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp index 40b4d22c5fb..ba904a31f85 100644 --- a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp @@ -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, |