Commit 2f33b50f authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

QmlProfiler: remove now superfluous processingDone method



This detour existed to ensure that the V8 model and the events model are
done processing before we call complete.

Change-Id: I89b3ec7935e63e8cbcdeaff74d407064456c07be
Reviewed-by: default avatarUlf Hermann <ulf.hermann@theqtcompany.com>
parent 3e8a40c3
......@@ -96,7 +96,7 @@ void QmlProfilerBaseModel::detailsDone()
emit changed();
d->processingDone = true;
d->modelManager->modelProxyCountUpdated(d->modelId, isEmpty() ? 0 : 1, 1);
d->modelManager->modelProcessingDone();
d->modelManager->complete();
}
}
......@@ -341,13 +341,6 @@ void QmlProfilerModelManager::complete()
}
}
void QmlProfilerModelManager::modelProcessingDone()
{
Q_ASSERT(state() == QmlProfilerDataState::ProcessingData);
if (d->model->processingDone())
complete();
}
void QmlProfilerModelManager::save(const QString &filename)
{
QFile *file = new QFile(filename);
......
......@@ -150,7 +150,6 @@ public slots:
qint64 ndata1, qint64 ndata2, qint64 ndata3, qint64 ndata4, qint64 ndata5);
void complete();
void modelProcessingDone();
void save(const QString &filename);
void load(const QString &filename);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment