forked from qt-creator/qt-creator
fix inverted condition for "include file not found" message
Change-Id: Ib4bc5b2a277b630a09b5151f632476a399db26a6 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -1752,7 +1752,7 @@ bool QMakeEvaluator::evaluateFile(
|
||||
#endif
|
||||
return ok;
|
||||
} else {
|
||||
if (!(flags & LoadSilent) && IoUtils::exists(fileName))
|
||||
if (!(flags & LoadSilent) && !IoUtils::exists(fileName))
|
||||
languageWarning(fL1S("Include file %1 not found").arg(fileName));
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user