forked from qt-creator/qt-creator
Terminal: Remove Close action
A remnant of a wrong refactoring. Fixes: QTCREATORBUG-30519 Change-Id: I2fadb353b83762d4d821444a58f7631dcfd22b0d Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -689,9 +689,6 @@ void TerminalWidget::initActions(QObject *parent)
|
|||||||
moveCursorWordRightAction.setText(Tr::tr("Move Cursor Word Right"));
|
moveCursorWordRightAction.setText(Tr::tr("Move Cursor Word Right"));
|
||||||
moveCursorWordRightAction.setContext(context);
|
moveCursorWordRightAction.setContext(context);
|
||||||
moveCursorWordRightAction.setDefaultKeySequence({QKeySequence("Alt+Right")});
|
moveCursorWordRightAction.setDefaultKeySequence({QKeySequence("Alt+Right")});
|
||||||
|
|
||||||
ActionBuilder closeAction(parent, Core::Constants::CLOSE);
|
|
||||||
closeAction.setText(Tr::tr("Close Terminal"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TerminalWidget::unlockGlobalAction(const Utils::Id &commandId)
|
void TerminalWidget::unlockGlobalAction(const Utils::Id &commandId)
|
||||||
|
Reference in New Issue
Block a user