Commit 1c4fc71d authored by Pablo Rauzy's avatar Pablo Rauzy Committed by Christoph Cullmann
Browse files

use convenient addSeparator method rather than creating an action seprator myself

parent f57d63f2
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment