aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/buildprogress.cpp
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-08-16 14:16:48 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2011-08-16 15:44:21 +0200
commit5e46341216cde8f1150f4c445826b1f52c354b6e (patch)
tree29697ed2c3ac1911ee10d976911879046191eb89 /src/plugins/projectexplorer/buildprogress.cpp
parent783d41ed05e5f3e3bb7a462163528e106a7488c8 (diff)
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>
Diffstat (limited to 'src/plugins/projectexplorer/buildprogress.cpp')
-rw-r--r--src/plugins/projectexplorer/buildprogress.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp
index 651d6e3e97..e12695ff4d 100644
--- a/src/plugins/projectexplorer/buildprogress.cpp
+++ b/src/plugins/projectexplorer/buildprogress.cpp
@@ -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);