QmlDesigner: Use new validation approach in item library

Many validation tests can now be skipped.

Task-number: QDS-7454
Change-Id: I84d5330d2666968eec757f70eceb73b45ce72383
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2022-08-31 10:23:37 +02:00
parent bc42c618e1
commit 441cc6de08

View File

@@ -274,7 +274,7 @@ void ItemLibraryAssetImportDialog::updateImport(const ModelNode &updateNode,
{
QString errorMsg;
const ModelNode &node = updateNode;
if (node.isValid() && node.hasMetaInfo()) {
if (node.hasMetaInfo()) {
QString compFileName = node.metaInfo().componentFileName(); // absolute path
bool preselectNodeSource = false;
if (compFileName.isEmpty()) {