forked from qt-creator/qt-creator
QmlProjectManager: use new allImports method
Change-Id: I1fd27d88d993187724a4535def616482508504ee Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -734,7 +734,7 @@ QStringList QmlBuildSystem::mockImports() const
|
|||||||
|
|
||||||
QStringList QmlBuildSystem::absoluteImportPaths() const
|
QStringList QmlBuildSystem::absoluteImportPaths() const
|
||||||
{
|
{
|
||||||
return Utils::transform<QStringList>(m_projectItem->importPaths(), [&](const QString &importPath) {
|
return Utils::transform<QStringList>(allImports(), [&](const QString &importPath) {
|
||||||
Utils::FilePath filePath = Utils::FilePath::fromString(importPath);
|
Utils::FilePath filePath = Utils::FilePath::fromString(importPath);
|
||||||
if (filePath.isAbsolutePath())
|
if (filePath.isAbsolutePath())
|
||||||
return projectDirectory().resolvePath(importPath).path();
|
return projectDirectory().resolvePath(importPath).path();
|
||||||
|
Reference in New Issue
Block a user