diff --git a/src/plugins/qmlprofiler/qmlprofilereventsmodelproxy.cpp b/src/plugins/qmlprofiler/qmlprofilereventsmodelproxy.cpp index d1be7cfdb3803dc0cd6c214d798c2b5f6721f1b2..f7f3e3053fe688ef403c9334cb46ac51efd7b194 100644 --- a/src/plugins/qmlprofiler/qmlprofilereventsmodelproxy.cpp +++ b/src/plugins/qmlprofiler/qmlprofilereventsmodelproxy.cpp @@ -96,11 +96,10 @@ void QmlProfilerEventsModelProxy::limitToRange(qint64 rangeStart, qint64 rangeEn void QmlProfilerEventsModelProxy::dataChanged() { - if (d->modelManager->state() == QmlProfilerDataState::ProcessingData) - loadData(); - if (d->modelManager->state() == QmlProfilerDataState::Empty) clear(); + else + loadData(); } QSet<QString> QmlProfilerEventsModelProxy::eventsInBindingLoop() const