diff --git a/plugins/qmlprofiler/inputeventsmodel.cpp b/plugins/qmlprofiler/inputeventsmodel.cpp
index 3682ee96eceb6950a085d5ee5378cd0c48cd4940..5dd0a80ec6379155dc5c3d6cad55035a52205c8b 100644
--- a/plugins/qmlprofiler/inputeventsmodel.cpp
+++ b/plugins/qmlprofiler/inputeventsmodel.cpp
@@ -107,7 +107,6 @@ void InputEventsModel::loadData()
 void InputEventsModel::clear()
 {
     m_keyTypeId = m_mouseTypeId = -1;
-    m_data.clear();
     QmlProfilerTimelineModel::clear();
 }