summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilereventview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilereventview.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilereventview.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilereventview.cpp b/src/plugins/qmlprofiler/qmlprofilereventview.cpp
index 0e183a9461..e50363da1a 100644
--- a/src/plugins/qmlprofiler/qmlprofilereventview.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilereventview.cpp
@@ -611,9 +611,15 @@ void QmlProfilerEventsMainView::QmlProfilerEventsMainViewPrivate::buildModelFrom
if (m_fieldShown[Type]) {
QString typeString = QmlProfilerEventsMainView::nameForType(binding->eventType);
QString toolTipText;
- if (binding->eventType == Binding && binding->bindingType == (int)OptimizedBinding) {
- typeString = typeString + tr(" (Opt)");
- toolTipText = tr("Binding is evaluated by the optimized engine.");
+ if (binding->eventType == Binding) {
+ if (binding->bindingType == (int)OptimizedBinding) {
+ typeString = typeString + tr(" (Opt)");
+ toolTipText = tr("Binding is evaluated by the optimized engine.");
+ } else if (binding->bindingType == (int)V8Binding) {
+ toolTipText = tr("Binding not optimized (eg. has side effects or assignments,\n"
+ "references to elements in other files, loops, etc.)");
+
+ }
}
newRow << new EventsViewItem(typeString);
newRow.last()->setData(QVariant(typeString));