Skip to content
GitLab
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
1c4fc71d
Commit
1c4fc71d
authored
Aug 06, 2022
by
Pablo Rauzy
Committed by
Christoph Cullmann
Aug 14, 2022
Browse files
use convenient addSeparator method rather than creating an action seprator myself
parent
f57d63f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/keyboardmacros/keyboardmacrosplugin.cpp
View file @
1c4fc71d
...
...
@@ -494,9 +494,7 @@ KeyboardMacrosPluginView::KeyboardMacrosPluginView(KeyboardMacrosPlugin *plugin,
menu
->
addAction
(
save
);
// add separator
QAction
*
sep
=
actionCollection
()
->
addAction
(
QStringLiteral
(
"keyboardmacros_sep"
));
sep
->
setSeparator
(
true
);
menu
->
addAction
(
sep
);
menu
->
addSeparator
();
// create load named menu
m_loadMenu
=
new
KActionMenu
(
i18n
(
"&Load Named Macro..."
),
this
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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