Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
2e1d843f
Commit
2e1d843f
authored
Aug 13, 2011
by
Dominik Haumann
Browse files
fix ambiguous shortcuts with file browser
BUG: 236368
BUG: 188954
parent
d87b251c
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/plugins/filebrowser/katefilebrowser.cpp
View file @
2e1d843f
...
...
@@ -328,8 +328,18 @@ void KateFileBrowser::setupActions()
optionsMenu
->
addAction
(
m_autoSyncFolder
);
m_actionCollection
->
addAction
(
"configure"
,
optionsMenu
);
//
// Remove all shortcuts due to shortcut clashes (e.g. F5: reload, Ctrl+B: bookmark)
// BUGS: #188954, #236368
//
foreach
(
QAction
*
a
,
m_actionCollection
->
actions
())
{
a
->
setShortcut
(
QKeySequence
());
}
foreach
(
QAction
*
a
,
m_dirOperator
->
actionCollection
()
->
actions
())
{
a
->
setShortcut
(
QKeySequence
());
}
}
//END Protected
// kate: space-indent on; indent-width 2; replace-tabs on;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment