Commit f10dfe86 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.SubComponentManager: removing bottleneck

The function checkIfDerivedFromItem()is really slow, since it does require
a link. Since not much harm is done when we display QtObjects, I remove the
check for now, until we find a faster solution.

Change-Id: Ibd75bd7ed17cfc8268ec0745e330d75cb4e69ebe
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent ca57a394
......@@ -75,6 +75,8 @@ static inline QStringList importPaths() {
static inline bool checkIfDerivedFromItem(const QString &fileName)
{
return true;
QmlJS::Snapshot snapshot;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment