Commit 2a172c75 authored by Daniel Teske's avatar Daniel Teske

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: default avatarTobias Hunger <tobias.hunger@digia.com>
parent f214011d
......@@ -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;
......
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