Commit a53dd9f0 authored by Daniel Teske's avatar Daniel Teske

Always show compile output/task window on clicking on progress bar

The output windows nowdays have a "focus-stealing" preventing mechanism,
where if a outputpane has focus, we typically don't switch but instead
flash the corresponding pane.

Maybe the api for outputpanes needs another rethinking to come up with
the correct enums.

Task-number: QTCREATORBUG-13646
Change-Id: I9db7da7e23206617f6da1c4d24ba8c2ba5583612
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 4c63deae
......@@ -278,7 +278,7 @@ void BuildManager::clearBuildQueue()
void BuildManager::toggleOutputWindow()
{
d->m_outputWindow->toggle(IOutputPane::ModeSwitch);
d->m_outputWindow->toggle(IOutputPane::ModeSwitch | IOutputPane::WithFocus);
}
void BuildManager::showTaskWindow()
......@@ -288,7 +288,7 @@ void BuildManager::showTaskWindow()
void BuildManager::toggleTaskWindow()
{
d->m_taskWindow->toggle(IOutputPane::ModeSwitch);
d->m_taskWindow->toggle(IOutputPane::ModeSwitch | IOutputPane::WithFocus);
}
bool BuildManager::tasksAvailable()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment