aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-13 15:34:22 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-16 14:42:07 +0000
commitd1d694efb55229f4862affe174c0f1643153a9cf (patch)
treef3f47facc403730c5628b87916c7ae3504997525
parent6b7bcd04605b72f00ef92a8983a6f913ab753c4e (diff)
Properly clear input events model
Change-Id: I17b7e84605f93d421de7dcf0a0b02c6b922b2c4b Reviewed-by: Joerg Bornemann <joerg.bornemann@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 5dd0a80ec6..3682ee96ec 100644
--- a/plugins/qmlprofiler/inputeventsmodel.cpp
+++ b/plugins/qmlprofiler/inputeventsmodel.cpp
@@ -107,6 +107,7 @@ void InputEventsModel::loadData()
void InputEventsModel::clear()
{
m_keyTypeId = m_mouseTypeId = -1;
+ m_data.clear();
QmlProfilerTimelineModel::clear();
}