summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-10-09 13:46:09 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2020-10-12 08:59:03 +0000
commit996ed6e378be40a16dbb7b7aad6c993879d64214 (patch)
tree9d955b37d85ea0e184618e6566be7ff0d441f642
parente76d294c00d633db3a5e20b231dbc7852b9b89e4 (diff)
downloadqt-creator-996ed6e378be40a16dbb7b7aad6c993879d64214.tar.gz
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 <orgads@gmail.com>
-rw-r--r--src/plugins/projectexplorer/buildmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp
index 0842424558..9b257c00f0 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();