aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/buildprogress.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2012-01-26 13:38:25 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2012-01-30 11:34:43 +0100
commit97496df1bf889c69f686edf707ba71a226064067 (patch)
tree216d2101026dd9f8ca6b19d87a41a14d86490d5e /src/plugins/projectexplorer/buildprogress.cpp
parent2f021edfddc0483202d1bb434cb30accb8059899 (diff)
Task: Update Task to use Utils::FileName and Core::Id
Use Utils::FileName and Core::Id in Task structure. Change-Id: Ia0ed459f86df36ffe547abde7c240b0ac409bcf5 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildprogress.cpp')
-rw-r--r--src/plugins/projectexplorer/buildprogress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp
index f8c37879df..91a02a7e25 100644
--- a/src/plugins/projectexplorer/buildprogress.cpp
+++ b/src/plugins/projectexplorer/buildprogress.cpp
@@ -89,8 +89,8 @@ void BuildProgress::updateState()
{
if (!m_taskWindow)
return;
- int errors = m_taskWindow->errorTaskCount(QLatin1String(Constants::TASK_CATEGORY_BUILDSYSTEM))
- + m_taskWindow->errorTaskCount(QLatin1String(Constants::TASK_CATEGORY_COMPILE));
+ int errors = m_taskWindow->errorTaskCount(Core::Id(Constants::TASK_CATEGORY_BUILDSYSTEM))
+ + m_taskWindow->errorTaskCount(Core::Id(Constants::TASK_CATEGORY_COMPILE));
bool haveErrors = (errors > 0);
m_errorIcon->setEnabled(haveErrors);
m_errorLabel->setEnabled(haveErrors);