diff --git a/src/libs/utils/fileinprojectfinder.cpp b/src/libs/utils/fileinprojectfinder.cpp index 45c42245d4f..dd2893bb21b 100644 --- a/src/libs/utils/fileinprojectfinder.cpp +++ b/src/libs/utils/fileinprojectfinder.cpp @@ -77,7 +77,7 @@ void FileInProjectFinder::setProjectDirectory(const QString &absoluteProjectPath const QFileInfo infoPath(newProjectPath); QTC_CHECK(newProjectPath.isEmpty() - || infoPath.exists() && infoPath.isAbsolute()); + || (infoPath.exists() && infoPath.isAbsolute())); m_projectDir = newProjectPath; m_cache.clear();