aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-11-17 09:32:38 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2015-11-17 08:33:47 +0000
commit6b1f8633634bcf47e2bc21050c9247943f32352f (patch)
tree0c7979b0d7c417b65394731932b7dd93f518e77a
parentcbaff220e700309fe3276c8eb6e41f2d692071f9 (diff)
Revert "Revert "Properly clear input events model""
The revert was only for 3.6 branch. This reverts commit eec2b2d0ee4f606511c997d083e5cbe404df6ddd. Change-Id: Id338a078ff5265d5517b935a1056a8e1c7d652c7 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
-rw-r--r--plugins/qmlprofiler/inputeventsmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/qmlprofiler/inputeventsmodel.cpp b/plugins/qmlprofiler/inputeventsmodel.cpp
index 6e8aa2af8b..278d1f272b 100644
--- a/plugins/qmlprofiler/inputeventsmodel.cpp
+++ b/plugins/qmlprofiler/inputeventsmodel.cpp
@@ -166,6 +166,7 @@ void InputEventsModel::loadData()
void InputEventsModel::clear()
{
m_keyTypeId = m_mouseTypeId = -1;
+ m_data.clear();
QmlProfilerTimelineModel::clear();
}