forked from qt-creator/qt-creator
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:
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user