OutputParser: Simplify detection of fatal errors a bit.

Change-Id: I46f6942a8bee8a1c9711dc97db6424893dd3f276
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-08-21 11:26:34 +02:00
parent b5de1fa518
commit a79d47c888

View File

@@ -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)