forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/12.0'
Change-Id: I22e6a20e5a6fc84f777b6cffbd9fb484c90bc51d
This commit is contained in:
@@ -293,6 +293,10 @@ void TerminalWidget::setupActions()
|
||||
this,
|
||||
&TerminalWidget::moveCursorWordRight);
|
||||
|
||||
// Ctrl+Q, the default "Quit" shortcut, is a useful key combination in a shell.
|
||||
// It can be used in combination with Ctrl+S to pause a program, and resume it with Ctrl+Q.
|
||||
// So we unlock the EXIT command only for macOS where the default is Cmd+Q to quit.
|
||||
if (HostOsInfo::isMacHost())
|
||||
unlockGlobalAction(Core::Constants::EXIT);
|
||||
unlockGlobalAction(Core::Constants::OPTIONS);
|
||||
unlockGlobalAction("Preferences.Terminal.General");
|
||||
|
Reference in New Issue
Block a user