Debugger: Provide keyboard shortcuts for "next" and "previous"

... to applicable analyzers.
Rather than inventing separate shortcut categories for all the
analyzers, we make use of the fact that only one analyzer view is active
at any given time, and make them use the same shortcuts for consistency.

Fixes: QTCREATORBUG-20659
Change-Id: Ifa60080def0e6b32395854cff588ab3af9ea33b9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Kandeler
2020-10-28 16:49:41 +01:00
parent 9cd5fb927d
commit 659771f09b
5 changed files with 25 additions and 0 deletions

View File

@@ -597,6 +597,7 @@ ClangTool::ClangTool()
m_perspective.addToolBarAction(m_showFilter);
m_perspective.addToolBarWidget(m_selectFixitsCheckBox);
m_perspective.addToolBarWidget(m_applyFixitsButton);
m_perspective.registerNextPrevShortcuts(m_goNext, m_goBack);
update();