Commit 26cb7165 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add icon for configure action

parent 4215e911
Pipeline #58900 canceled with stage
...@@ -129,7 +129,7 @@ void ViewerPluginExternalscriptInterface::createAction(KActionCollection *ac) ...@@ -129,7 +129,7 @@ void ViewerPluginExternalscriptInterface::createAction(KActionCollection *ac)
if (!infos.isEmpty()) { if (!infos.isEmpty()) {
menu->addSeparator(); menu->addSeparator();
} }
QAction *act = new QAction(i18n("Configure"), menu); QAction *act = new QAction(QIcon::fromTheme(QStringLiteral("settings-configure")), i18n("Configure"), menu);
connect(act, &QAction::triggered, this, &ViewerPluginExternalscriptInterface::slotConfigure); connect(act, &QAction::triggered, this, &ViewerPluginExternalscriptInterface::slotConfigure);
menu->addAction(act); menu->addAction(act);
mainMenu->setMenu(menu); mainMenu->setMenu(menu);
......
Markdown is supported
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