Properly clear input events model

Change-Id: I17b7e84605f93d421de7dcf0a0b02c6b922b2c4b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
Ulf Hermann
2015-11-13 15:34:22 +01:00
parent 6b7bcd0460
commit d1d694efb5

View File

@@ -107,6 +107,7 @@ void InputEventsModel::loadData()
void InputEventsModel::clear()
{
m_keyTypeId = m_mouseTypeId = -1;
m_data.clear();
QmlProfilerTimelineModel::clear();
}