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>
This commit is contained in:
Ulf Hermann
2016-05-11 13:58:20 +02:00
parent 46e043ed1e
commit 1093be0425
15 changed files with 9 additions and 126 deletions

View File

@@ -217,8 +217,6 @@ void MemoryUsageModel::loadData()
m_data.insert(currentJSHeapIndex, allocation);
}
}
updateProgress(count(), simpleModel->events().count());
}
if (currentJSHeapIndex != -1)
@@ -232,7 +230,6 @@ void MemoryUsageModel::loadData()
computeNesting();
setExpandedRowCount(3);
setCollapsedRowCount(3);
updateProgress(1, 1);
}
void MemoryUsageModel::clear()