forked from qt-creator/qt-creator
Fix: qsTr is a qml method, not a cpp method
Change-Id: Ibe3af962cc7164db0ab54effcd38f4390736950e Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
committed by
Kai Koehne
parent
344620ffbc
commit
1f4d831f8c
@@ -607,7 +607,7 @@ void QmlProfilerEventsMainView::QmlProfilerEventsMainViewPrivate::buildModelFrom
|
||||
QString toolTipText;
|
||||
if (binding->eventType == Binding && binding->bindingType == (int)V4Binding) {
|
||||
typeString = typeString + tr(" (v4)");
|
||||
toolTipText = qsTr("Binding is evaluated by the optimized v4 engine.");
|
||||
toolTipText = tr("Binding is evaluated by the optimized v4 engine.");
|
||||
}
|
||||
newRow << new EventsViewItem(typeString);
|
||||
newRow.last()->setData(QVariant(typeString));
|
||||
|
||||
Reference in New Issue
Block a user