forked from qt-creator/qt-creator
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:
@@ -73,7 +73,6 @@ bool QmlProfilerTimelineModel::handlesTypeId(int typeIndex) const
|
||||
void QmlProfilerTimelineModel::clear()
|
||||
{
|
||||
TimelineModel::clear();
|
||||
updateProgress(0, 1);
|
||||
}
|
||||
|
||||
QmlProfilerModelManager *QmlProfilerTimelineModel::modelManager() const
|
||||
@@ -81,11 +80,6 @@ QmlProfilerModelManager *QmlProfilerTimelineModel::modelManager() const
|
||||
return m_modelManager;
|
||||
}
|
||||
|
||||
void QmlProfilerTimelineModel::updateProgress(qint64 count, qint64 max) const
|
||||
{
|
||||
m_modelManager->modelProxyCountUpdated(modelId(), count, max);
|
||||
}
|
||||
|
||||
void QmlProfilerTimelineModel::announceFeatures(quint64 features) const
|
||||
{
|
||||
m_modelManager->announceFeatures(modelId(), features);
|
||||
|
||||
Reference in New Issue
Block a user