From e76d294c00d633db3a5e20b231dbc7852b9b89e4 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 9 Oct 2020 11:29:01 +0200 Subject: 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 --- src/plugins/projectexplorer/buildmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index 16ae265bca..0842424558 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -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); } -- cgit v1.2.3