forked from qt-creator/qt-creator
OutputParser: Simplify detection of fatal errors a bit.
Change-Id: I46f6942a8bee8a1c9711dc97db6424893dd3f276 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -197,7 +197,7 @@ void IOutputParser::doFlush()
|
|||||||
|
|
||||||
bool IOutputParser::hasFatalErrors() const
|
bool IOutputParser::hasFatalErrors() const
|
||||||
{
|
{
|
||||||
return false || (m_parser && m_parser->hasFatalErrors());
|
return m_parser && m_parser->hasFatalErrors();
|
||||||
}
|
}
|
||||||
|
|
||||||
void IOutputParser::setWorkingDirectory(const QString &workingDirectory)
|
void IOutputParser::setWorkingDirectory(const QString &workingDirectory)
|
||||||
|
|||||||
Reference in New Issue
Block a user