QmlDesigner.SubComponentManager: Do not show items without import

This feature is not working reliable, because we cannot add the import
and have proper metainfo for the item in the same transaction.

This is why we added the import manager.

Change-Id: Ifc6c34ae699f574989cfba8e07ec0d8c8d528101
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
Thomas Hartmann
2014-04-24 16:31:50 +02:00
parent 8bb50b1b1e
commit 0909d7c5f8

View File

@@ -395,7 +395,6 @@ void SubComponentManager::registerQmlFile(const QFileInfo &fileInfo, const QStri
itemLibraryEntry.setName(baseComponentName);
itemLibraryEntry.setCategory("QML Components");
if (!qualifier.isEmpty()) {
itemLibraryEntry.setForceImport(true);
itemLibraryEntry.setRequiredImport(fixedQualifier);
}