Commit d926d5e3 authored by Carlos Alves's avatar Carlos Alves
Browse files

Fix 'Alt+C' closing split view

setText will create a shortcut with alt+C.
But setText call is not needed here.

BUG: 424654
FIXED-IN: 20.08.3
parent 680e3dd1
...@@ -104,7 +104,6 @@ TerminalHeaderBar::TerminalHeaderBar(QWidget *parent) ...@@ -104,7 +104,6 @@ TerminalHeaderBar::TerminalHeaderBar(QWidget *parent)
m_closeBtn = new QToolButton(this); m_closeBtn = new QToolButton(this);
m_closeBtn->setIcon(QIcon::fromTheme(QStringLiteral("tab-close"))); m_closeBtn->setIcon(QIcon::fromTheme(QStringLiteral("tab-close")));
m_closeBtn->setToolTip(i18nc("@info:tooltip", "Close terminal")); m_closeBtn->setToolTip(i18nc("@info:tooltip", "Close terminal"));
m_closeBtn->setText(i18nc("@info:tooltip", "Close terminal"));
m_closeBtn->setObjectName(QStringLiteral("close-terminal-button")); m_closeBtn->setObjectName(QStringLiteral("close-terminal-button"));
m_closeBtn->setAutoRaise(true); m_closeBtn->setAutoRaise(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment