Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 193606c7 authored by Laurent Montel's avatar Laurent Montel 😁

Assign directly icon

parent 6857721e
......@@ -205,10 +205,9 @@ public:
if (KAuthorized::authorize(QStringLiteral("ghns"))) {
if (!knewstuffConfigName.isEmpty()) {
menu->addSeparator();
QAction *act = menu->addAction(i18n("Download new Templates..."), q, [this]() {
slotDownloadTemplates();
});
act->setIcon(QIcon::fromTheme(QStringLiteral("get-hot-new-stuff")));
menu->addAction(QIcon::fromTheme(QStringLiteral("get-hot-new-stuff")), i18n("Download new Templates..."), q, [this]() {
slotDownloadTemplates();
});
}
}
......
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