Commit 2d9343b2 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.SubComponentManager: use ModelManager for import paths



The model manager provides the import paths defined in .pro
and .qmlproject files.

Change-Id: I80846ace70f940400407cc25cec9ad6fac8b6fec
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 963a1015
......@@ -75,6 +75,8 @@ static inline QStringList importPaths() {
.split(Utils::HostOsInfo::pathListSeparator(), QString::SkipEmptyParts);
}
paths.append(QmlJS::ModelManagerInterface::instance()->importPaths());
return paths;
}
......
Supports Markdown
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