Commit 5e463412 authored by Christian Kamm's avatar Christian Kamm Committed by Tobias Hunger

Build progress: Show only compile and build errors.

Change-Id: Ic20131048c1b5846fa626051499a1e437d6fd266
Reviewed-on: http://codereview.qt.nokia.com/3013Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 783d41ed
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment