ProjectExplorer: Add "link back from issues" functionality

... to the app output pane.

Change-Id: I3e11f63a42fb30ae4e40da50d5ba8143ce99cd65
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2021-11-25 13:57:38 +01:00
parent 304e5c7552
commit 0eaba469cf
4 changed files with 29 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ void ShowOutputTaskHandler::handle(const Task &task)
m_window->popup(Core::IOutputPane::Flags(Core::IOutputPane::ModeSwitch | Core::IOutputPane::WithFocus));
for (Core::OutputWindow * const ow : m_window->outputWindows()) {
if (ow->knowsPositionOf(task.taskId)) {
m_window->ensureWindowVisible(ow);
ow->showPositionOf(task.taskId);
break;
}