diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-10-09 11:29:01 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-10-12 08:58:25 +0000 |
commit | e76d294c00d633db3a5e20b231dbc7852b9b89e4 (patch) | |
tree | 0473e5ab126782d2d6d9955749241e93cff8db9d /src | |
parent | ddb078404ade5492a8683af4885b173263d447d8 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/projectexplorer/buildmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |