forked from qt-creator/qt-creator
QmlProfiler: Make the progress bar somewhat nicer.
Allow adding a weight to certain tasks so that the movement of the bar gets smoother and update the progress from more places. Change-Id: Ifb8331dc77116cc0464b3970cd6344fbbeacec41 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -42,6 +42,7 @@ namespace QmlProfiler {
|
||||
QmlProfilerSimpleModel::QmlProfilerSimpleModel(QmlProfilerModelManager *parent)
|
||||
: QmlProfilerBaseModel(parent)
|
||||
{
|
||||
m_modelManager->setProxyCountWeight(m_modelId, 2);
|
||||
}
|
||||
|
||||
QmlProfilerSimpleModel::~QmlProfilerSimpleModel()
|
||||
|
||||
Reference in New Issue
Block a user