diff options
author | con <qtc-committer@nokia.com> | 2010-07-16 11:50:01 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-07-16 11:50:01 +0200 |
commit | eef08b12e3cdb1ce1546c51566a7b1bfe59c7129 (patch) | |
tree | 9307fe31f61da9c276032e29e9bca3c122f3568f /src/plugins/projectexplorer/buildmanager.cpp | |
parent | 41236d29d328950d9240d4e3a5e2c98d3214b65b (diff) | |
parent | 2b3db20507006b2953c74dde778a3feb25ffb3bf (diff) | |
download | qt-creator-eef08b12e3cdb1ce1546c51566a7b1bfe59c7129.tar.gz |
Merge remote branch 'origin/2.0'
Conflicts:
src/plugins/projectexplorer/buildmanager.cpp
src/plugins/projectexplorer/compileoutputwindow.cpp
src/plugins/projectexplorer/compileoutputwindow.h
src/plugins/projectexplorer/outputwindow.cpp
src/plugins/projectexplorer/outputwindow.h
Diffstat (limited to 'src/plugins/projectexplorer/buildmanager.cpp')
-rw-r--r-- | src/plugins/projectexplorer/buildmanager.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index 8a3e42393f..3b18945b1a 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -63,9 +63,9 @@ using namespace ProjectExplorer; using namespace ProjectExplorer::Internal; -static inline QString msgProgress(int n, int total) +static inline QString msgProgress(int progress, int total) { - return BuildManager::tr("Finished %1 of %n build steps", 0, n).arg(total); + return BuildManager::tr("Finished %1 of %n build steps", 0, total).arg(progress); } BuildManager::BuildManager(ProjectExplorerPlugin *parent) @@ -102,6 +102,9 @@ BuildManager::BuildManager(ProjectExplorerPlugin *parent) connect(m_taskWindow, SIGNAL(tasksChanged()), this, SLOT(updateTaskCount())); + connect(m_taskWindow, SIGNAL(tasksCleared()), + this,SIGNAL(tasksCleared())); + connect(&m_progressWatcher, SIGNAL(canceled()), this, SLOT(cancel())); connect(&m_progressWatcher, SIGNAL(finished()), |