QmlProfiler: Directly pass events from client to model

Running them through the model manager via signals doesn't make much
sense anymore.

Change-Id: I6103d281dd640493f28acd7e787ea49712ebd8df
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Ulf Hermann
2016-05-23 16:03:09 +02:00
parent cf02bf971c
commit ebd6d269c2
5 changed files with 13 additions and 18 deletions

View File

@@ -280,12 +280,6 @@ const char *QmlProfilerModelManager::featureName(ProfileFeature feature)
return ProfileFeatureNames[feature];
}
void QmlProfilerModelManager::addQmlEvent(const QmlEvent &event, const QmlEventType &type)
{
QTC_ASSERT(state() == AcquiringData, return);
d->model->addTypedEvent(event, type);
}
void QmlProfilerModelManager::acquiringDone()
{
QTC_ASSERT(state() == AcquiringData, /**/);