Terminal: Fix tooltip

Fixes: QTCREATORBUG-29260
Change-Id: I6bde92e0caaa62598f25d1af7f7a69548b8fa4d3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-06-07 09:22:26 +02:00
parent abb85b073a
commit dd99b83e62

View File

@@ -79,10 +79,10 @@ TerminalPane::TerminalPane(QObject *parent)
.toString(QKeySequence::NativeText); .toString(QKeySequence::NativeText);
if (TerminalSettings::instance().sendEscapeToTerminal.value()) { if (TerminalSettings::instance().sendEscapeToTerminal.value()) {
m_escSettingButton->setText(escKey); m_escSettingButton->setText(escKey);
m_escSettingButton->setToolTip(Tr::tr("Sending ESC to terminal instead of Qt Creator")); m_escSettingButton->setToolTip(Tr::tr("Sending Esc to terminal instead of Qt Creator"));
} else { } else {
m_escSettingButton->setText(shiftEsc); m_escSettingButton->setText(shiftEsc);
m_escSettingButton->setToolTip(Tr::tr("Press %1 to send ESC to terminal").arg(shiftEsc)); m_escSettingButton->setToolTip(Tr::tr("Press %1 to send Esc to terminal").arg(shiftEsc));
} }
}; };