forked from qt-creator/qt-creator
QmlDesigner: Use new validation approach in event list
Many validation tests can now be skipped. Task-number: QDS-7454 Change-Id: I6f346a9614552ccbebca3a812861a5edf912536d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -127,12 +127,7 @@ QString NodeListView::setNodeId(int internalId, const QString &id)
|
||||
|
||||
bool supported(const ModelNode &node)
|
||||
{
|
||||
if (!node.isValid())
|
||||
return false;
|
||||
|
||||
const NodeMetaInfo metaInfo = node.metaInfo();
|
||||
if (!metaInfo.isValid())
|
||||
return false;
|
||||
|
||||
return metaInfo.hasProperty("eventIds");
|
||||
}
|
||||
|
Reference in New Issue
Block a user