QmlProject: Fix import paths for code model

This fixes a regression introduced by
30638df441.

Custom import paths have to be absolute for the code model.

Change-Id: I232229fa58c3900fe684ca4529b2ed08bf93e8be
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Thomas Hartmann
2018-02-26 14:26:07 +01:00
committed by Ulf Hermann
parent f60641f3d3
commit 0474216e2f
3 changed files with 14 additions and 13 deletions

View File

@@ -75,6 +75,7 @@ public:
void refreshProjectFile();
static QStringList makeAbsolute(const Utils::FileName &path, const QStringList &relativePaths);
protected:
RestoreResult fromMap(const QVariantMap &map, QString *errorMessage) override;
bool setupTarget(ProjectExplorer::Target *t) override;