ProjectExplorer: Fix small visual glitch when rebuilding

All but the first build would insert an extra newline at the top of the
compile output window.

Change-Id: Ief88acfb6226ec2d1de9865f041e9f07c48f6c49
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Kandeler
2020-10-09 11:29:01 +02:00
parent ddb078404a
commit e76d294c00

View File

@@ -477,6 +477,7 @@ void BuildManager::finish()
{
const QString elapsedTime = Utils::formatElapsedTime(d->m_elapsed.elapsed());
m_instance->addToOutputWindow(elapsedTime, BuildStep::OutputFormat::NormalMessage);
d->m_outputWindow->flush();
QApplication::alert(ICore::dialogParent(), 3000);
}