forked from qt-creator/qt-creator
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:
@@ -477,6 +477,7 @@ void BuildManager::finish()
|
|||||||
{
|
{
|
||||||
const QString elapsedTime = Utils::formatElapsedTime(d->m_elapsed.elapsed());
|
const QString elapsedTime = Utils::formatElapsedTime(d->m_elapsed.elapsed());
|
||||||
m_instance->addToOutputWindow(elapsedTime, BuildStep::OutputFormat::NormalMessage);
|
m_instance->addToOutputWindow(elapsedTime, BuildStep::OutputFormat::NormalMessage);
|
||||||
|
d->m_outputWindow->flush();
|
||||||
|
|
||||||
QApplication::alert(ICore::dialogParent(), 3000);
|
QApplication::alert(ICore::dialogParent(), 3000);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user