diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-11 13:58:20 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-23 11:44:13 +0000 |
commit | 1093be042513e643fe11e364164d59f11476ba27 (patch) | |
tree | dd0f2adfc26d3ec66e4c7131dad41495992b1b9f /src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp | |
parent | 46e043ed1ed273b2dd8b4a000f6644c8ca1d09f1 (diff) | |
download | qt-creator-1093be042513e643fe11e364164d59f11476ba27.tar.gz |
QmlProfiler: Remove detailed progress tracking
The progress bar in the state widget was rather meaningless. We rarely
know how many events we expect and it's rather hard to tell how long
each model will take to process them. Instead, we just show a 0-ranged
progress bar to tell the user that "something is happening".
Change-Id: Icb80840d1f0a1538bcf254faa37cbb36e25d342c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp index a9cece7fdd..ddad50220b 100644 --- a/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofileranimationsmodel.cpp @@ -110,14 +110,11 @@ void QmlProfilerAnimationsModel::loadData() m_maxRenderThreadAnimations); minNextStartTimes[lastThread] = event.timestamp() + 1; - - updateProgress(count(), referenceList.count()); } computeNesting(); setExpandedRowCount((m_maxGuiThreadAnimations == 0 || m_maxRenderThreadAnimations == 0) ? 2 : 3); setCollapsedRowCount(expandedRowCount()); - updateProgress(1, 1); } int QmlProfilerAnimationsModel::rowFromThreadId(int threadId) const |