OutputPane: Add an id() for the settings

It was using the displayName for the key in the settings (visibility and
shortcut), which is annoying when changing the language.

Change-Id: Iffa784347c59389599c90f468dcba15834599c39
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Eike Ziller
2023-09-13 15:36:07 +02:00
parent 409a4c972a
commit 053c6253b8
15 changed files with 34 additions and 3 deletions

View File

@@ -40,6 +40,7 @@ TerminalPane::TerminalPane(QObject *parent)
: IOutputPane(parent)
, m_selfContext("Terminal.Pane")
{
setId("Terminal");
setDisplayName(Tr::tr("Terminal"));
setupContext(m_selfContext, &m_tabWidget);
setZoomButtonsEnabled(true);