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: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Daniel Teske
2015-01-19 12:34:06 +01:00
parent 4c63deae5c
commit a53dd9f003

View File

@@ -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()