forked from qt-creator/qt-creator
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:
@@ -274,7 +274,7 @@ void ItemLibraryAssetImportDialog::updateImport(const ModelNode &updateNode,
|
|||||||
{
|
{
|
||||||
QString errorMsg;
|
QString errorMsg;
|
||||||
const ModelNode &node = updateNode;
|
const ModelNode &node = updateNode;
|
||||||
if (node.isValid() && node.hasMetaInfo()) {
|
if (node.hasMetaInfo()) {
|
||||||
QString compFileName = node.metaInfo().componentFileName(); // absolute path
|
QString compFileName = node.metaInfo().componentFileName(); // absolute path
|
||||||
bool preselectNodeSource = false;
|
bool preselectNodeSource = false;
|
||||||
if (compFileName.isEmpty()) {
|
if (compFileName.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user