forked from qt-creator/qt-creator
Build progress: Show only compile and build errors.
Change-Id: Ic20131048c1b5846fa626051499a1e437d6fd266 Reviewed-on: http://codereview.qt.nokia.com/3013 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
783d41ed05
commit
5e46341216
@@ -31,6 +31,7 @@
|
||||
**************************************************************************/
|
||||
|
||||
#include "buildprogress.h"
|
||||
#include "projectexplorerconstants.h"
|
||||
|
||||
#include <utils/stylehelper.h>
|
||||
|
||||
@@ -88,7 +89,8 @@ void BuildProgress::updateState()
|
||||
{
|
||||
if (!m_taskWindow)
|
||||
return;
|
||||
int errors = m_taskWindow->errorTaskCount();
|
||||
int errors = m_taskWindow->errorTaskCount(Constants::TASK_CATEGORY_BUILDSYSTEM)
|
||||
+ m_taskWindow->errorTaskCount(Constants::TASK_CATEGORY_COMPILE);
|
||||
bool haveErrors = (errors > 0);
|
||||
m_errorIcon->setEnabled(haveErrors);
|
||||
m_errorLabel->setEnabled(haveErrors);
|
||||
|
Reference in New Issue
Block a user