forked from qt-creator/qt-creator
QmlDesigner: Refactor isSubClass
IsSubClass is renamed to isBasedOn and takes now NodeMetaInfo as a parameter. But for most cases there are is... functions as short cut. The model is providing shortcut NodeMetaInfos too. This is done in the sake of caching. Task-number: QDS-7445 Change-Id: Iff2dea66e253b412105427134bd49cb16ed76193 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
fa033876e6
commit
da36459759
@@ -175,7 +175,7 @@ void ActionEditor::prepareConnections()
|
||||
|
||||
auto isSkippedType = [](auto &&type) {
|
||||
return !(type.isString() || type.isInteger() || type.isBool() || type.isColor()
|
||||
|| type.isFloat() || type.isQmlItem());
|
||||
|| type.isFloat() || type.isQtObject());
|
||||
};
|
||||
static QList<PropertyName> methodBlackList({"toString", "destroy"});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user