From 2a172c7584466c428f5de1c302fed83823697f3f Mon Sep 17 00:00:00 2001 From: Daniel Teske <daniel.teske@digia.com> Date: Mon, 2 Sep 2013 14:06:09 +0200 Subject: [PATCH] BuildManager: Move clearing of compile output to before BS::init() So that we preserve the output of the init() functions. Change-Id: I3528424b1a94fcf615a35dda002f2480cc1e7d32 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> --- src/plugins/projectexplorer/buildmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index caf012d89d7..b09d327ec05 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -293,7 +293,6 @@ void BuildManager::startBuildQueue(const QStringList &preambleMessage) // Progress Reporting d->m_progressFutureInterface = new QFutureInterface<void>; d->m_progressWatcher.setFuture(d->m_progressFutureInterface->future()); - d->m_outputWindow->clearContents(); foreach (const QString &str, preambleMessage) addToOutputWindow(str, BuildStep::MessageOutput, BuildStep::DontAppendNewline); TaskHub::clearTasks(Constants::TASK_CATEGORY_COMPILE); @@ -466,6 +465,7 @@ void BuildManager::nextStep() bool BuildManager::buildQueueAppend(QList<BuildStep *> steps, QStringList names) { + d->m_outputWindow->clearContents(); int count = steps.size(); bool init = true; int i = 0; -- GitLab