forked from qt-creator/qt-creator
QmlDesigner: Normalize expression when comparing them
Change-Id: I0697e7cea74b942ee3c3f667741744f17281162e Reviewed-by: Knud Dollereder <knud.dollereder@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -1672,7 +1672,7 @@ void ModelValidator::signalHandlerSourceDiffer(SignalHandlerProperty &modelPrope
|
|||||||
{
|
{
|
||||||
Q_UNUSED(modelProperty)
|
Q_UNUSED(modelProperty)
|
||||||
Q_UNUSED(javascript)
|
Q_UNUSED(javascript)
|
||||||
QTC_ASSERT(modelProperty.source() == javascript, return);
|
QTC_ASSERT(compareJavaScriptExpression(modelProperty.source(), javascript), return);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModelValidator::shouldBeSignalHandlerProperty(AbstractProperty &modelProperty, const QString & /*javascript*/)
|
void ModelValidator::shouldBeSignalHandlerProperty(AbstractProperty &modelProperty, const QString & /*javascript*/)
|
||||||
|
Reference in New Issue
Block a user