forked from qt-creator/qt-creator
QmlDesigner: Fix heck in syncSignalDeclarationProperty
Change-Id: Ifa5d5ef6000a6a8a7eb6210cece43a09b6e42361 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -1712,7 +1712,7 @@ void TextToModelMerger::syncSignalDeclarationProperty(AbstractProperty &modelPro
|
|||||||
const QString &signature,
|
const QString &signature,
|
||||||
DifferenceHandler &differenceHandler)
|
DifferenceHandler &differenceHandler)
|
||||||
{
|
{
|
||||||
if (modelProperty.isSignalHandlerProperty()) {
|
if (modelProperty.isSignalDeclarationProperty()) {
|
||||||
SignalDeclarationProperty signalHandlerProperty = modelProperty.toSignalDeclarationProperty();
|
SignalDeclarationProperty signalHandlerProperty = modelProperty.toSignalDeclarationProperty();
|
||||||
if (signalHandlerProperty.signature() != signature)
|
if (signalHandlerProperty.signature() != signature)
|
||||||
differenceHandler.signalDeclarationSignatureDiffer(signalHandlerProperty, signature);
|
differenceHandler.signalDeclarationSignatureDiffer(signalHandlerProperty, signature);
|
||||||
|
Reference in New Issue
Block a user