mirror of
https://github.com/KDE/konsole.git
synced 2026-02-04 12:21:37 -05:00
Fix keyboard shortcuts when menu bar is hidden. Patch by Robin Stocker. Affects other KDE applications as well. See discussion on konsole-devel - http://lists.kde.org/?l=konsole-devel&m=118529209602516&w=2
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=691938
This commit is contained in:
@@ -81,6 +81,13 @@ MainWindow::MainWindow()
|
||||
// replace standard shortcuts which cannot be used in a terminal
|
||||
// (as they are reserved for use by terminal programs)
|
||||
correctShortcuts();
|
||||
|
||||
// add all actions to this window, so that the keyboard shortcuts can be
|
||||
// used even when the menu is hidden
|
||||
//
|
||||
// See comments in SessionController constructor about Qt 4 behaviour with
|
||||
// hidden menu bars and shortcuts
|
||||
addActions(actionCollection()->actions());
|
||||
}
|
||||
|
||||
void MainWindow::correctShortcuts()
|
||||
|
||||
Reference in New Issue
Block a user