diff --git a/plugins/qmlprofiler/inputeventsmodel.cpp b/plugins/qmlprofiler/inputeventsmodel.cpp index 6e8aa2af8b4..278d1f272b2 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(); }