From 996ed6e378be40a16dbb7b7aad6c993879d64214 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 9 Oct 2020 13:46:09 +0200 Subject: [PATCH] ProjectExplorer: Fix compile output window scroll issue Flushing the formatter directly from the build manager interferes with the scrolling logic in OutputWindow. Fixes: QTCREATORBUG-24728 Change-Id: I018944a44bcc3115c17ba83708da8f155b496f39 Reviewed-by: Orgad Shaneh --- 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 0842424558c..9b257c00f0e 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -697,7 +697,7 @@ void BuildManager::nextStep() } static const auto finishedHandler = [](bool success) { - d->m_outputWindow->outputFormatter()->flush(); + d->m_outputWindow->flush(); d->m_lastStepSucceeded = success; disconnect(d->m_currentBuildStep, nullptr, instance(), nullptr); BuildManager::nextBuildQueue();