diff --git a/plugins/qmlprofiler/inputeventsmodel.cpp b/plugins/qmlprofiler/inputeventsmodel.cpp index 5dd0a80ec63..3682ee96ece 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(); }