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
Tobias Hunger
qt-creator
Commits
90f7ab49
Commit
90f7ab49
authored
Mar 22, 2011
by
con
Browse files
Adapt accelerators of edit menu items.
Acked-by: hjk
parent
3c8786df
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
90f7ab49
...
...
@@ -418,7 +418,7 @@ EditorManager::EditorManager(ICore *core, QWidget *parent) :
ActionContainer
*
medit
=
am
->
actionContainer
(
Constants
::
M_EDIT
);
ActionContainer
*
advancedMenu
=
am
->
createMenu
(
Constants
::
M_EDIT_ADVANCED
);
medit
->
addMenu
(
advancedMenu
,
Constants
::
G_EDIT_ADVANCED
);
advancedMenu
->
menu
()
->
setTitle
(
tr
(
"
&
Advanced"
));
advancedMenu
->
menu
()
->
setTitle
(
tr
(
"Ad
&
vanced"
));
advancedMenu
->
appendGroup
(
Constants
::
G_EDIT_FORMAT
);
advancedMenu
->
appendGroup
(
Constants
::
G_EDIT_COLLAPSING
);
advancedMenu
->
appendGroup
(
Constants
::
G_EDIT_BLOCKS
);
...
...
src/plugins/coreplugin/mainwindow.cpp
View file @
90f7ab49
...
...
@@ -703,7 +703,7 @@ void MainWindow::registerDefaultActions()
// Select All
icon
=
QIcon
::
fromTheme
(
QLatin1String
(
"edit-select-all"
));
tmpaction
=
new
QAction
(
icon
,
tr
(
"
&
Select All"
),
this
);
tmpaction
=
new
QAction
(
icon
,
tr
(
"Select
&
All"
),
this
);
cmd
=
am
->
registerAction
(
tmpaction
,
Constants
::
SELECTALL
,
globalContext
);
cmd
->
setDefaultKeySequence
(
QKeySequence
::
SelectAll
);
medit
->
addAction
(
cmd
,
Constants
::
G_EDIT_SELECTALL
);
...
...
Write
Preview
Supports
Markdown
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