aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/qmlprofiler/qmlprofilerpainteventsmodelproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/qmlprofiler/qmlprofilerpainteventsmodelproxy.cpp')
-rw-r--r--plugins/qmlprofiler/qmlprofilerpainteventsmodelproxy.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/qmlprofiler/qmlprofilerpainteventsmodelproxy.cpp b/plugins/qmlprofiler/qmlprofilerpainteventsmodelproxy.cpp
index 6708e7b226..7457e33dc8 100644
--- a/plugins/qmlprofiler/qmlprofilerpainteventsmodelproxy.cpp
+++ b/plugins/qmlprofiler/qmlprofilerpainteventsmodelproxy.cpp
@@ -421,6 +421,18 @@ const QVariantMap PaintEventsModelProxy::getEventLocation(int /*index*/) const
return map;
}
+int PaintEventsModelProxy::getEventIdForHash(const QString &/*eventHash*/) const
+{
+ // paint events do not have an eventHash
+ return -1;
+}
+
+int PaintEventsModelProxy::getEventIdForLocation(const QString &/*filename*/, int /*line*/, int /*column*/) const
+{
+ // paint events do not have a defined location
+ return -1;
+}
+
}
}