forked from qt-creator/qt-creator
Fix compile error
Change-Id: Ibd4593381df017c80129ac9d56a5031e46bd908f Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -443,7 +443,7 @@ static FilePath rootPathFromSettings(Project *project)
|
||||
FilePath rootPath;
|
||||
#ifndef WITH_TESTS
|
||||
rootPath = FilePath::fromString(
|
||||
namedSettings(ProjectExplorer::Constants::PROJECT_ROOT_PATH_KEY).toString());
|
||||
project->namedSettings(ProjectExplorer::Constants::PROJECT_ROOT_PATH_KEY).toString());
|
||||
#endif
|
||||
if (rootPath.isEmpty())
|
||||
rootPath = project->projectDirectory();
|
||||
|
||||
Reference in New Issue
Block a user