aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2018-04-20 18:06:38 +0200
committerUlf Hermann <[email protected]>2018-04-23 14:20:16 +0000
commit1770c2ffe2b50c7fada0a066c0f8a480c0a70f96 (patch)
treef3487fd90283d879c987e37902c1321c828b5232 /src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
parentde006655e334a8f3555ab9f0c7c5222e3384f30d (diff)
Remove TimelineTraceManager::State
This is redundant, now that we have registerFeatures(). Change-Id: Ia56c28b8892ab6da694570fe4b9ea5c96fe194f1 Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
index bb41405809d..c274469aa82 100644
--- a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
@@ -96,7 +96,8 @@ void QmlProfilerStatisticsModel::restrictToFeatures(quint64 features)
}
}
}
- if (!didChange || m_modelManager->state() != QmlProfilerModelManager::Done)
+
+ if (!didChange)
return;
clear();