Add QtQuick.color to to the isColor comparison function

Change-Id: I2b4495c4ad6c7e1b22358688a719b37524a1ebb4
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Knud Dollereder
2023-09-20 12:11:02 +02:00
parent 08272b4003
commit 56ee8ec9e0

View File

@@ -2816,7 +2816,7 @@ bool NodeMetaInfo::isColor() const
auto type = m_privateData->qualfiedTypeName();
return type == "QColor" || type == "color";
return type == "QColor" || type == "color" || type == "QtQuick.color";
}
}