diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-23 16:03:09 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-05-25 13:52:33 +0000 |
commit | ebd6d269c2b3657032f95972d84459979a9dca36 (patch) | |
tree | 36f8d3d8f16195b9b995830b4f08c6a6a9e27c28 /src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp | |
parent | cf02bf971c37bf399f13516fbefec0b2d4e30a0a (diff) |
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>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp index d27d7f8a097..e91af3536a3 100644 --- a/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp +++ b/src/plugins/qmlprofiler/qmlprofilermodelmanager.cpp @@ -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, /**/); |