[pim/kmail] src: Fix icon
Laurent Montel <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 5404b0f78d772e22ef75c78fc40c5c476de18d79 by Laurent Montel.
Committed on 27/07/2026 at 18:15.
Pushed by mlaurent into branch 'master'.
Fix icon
M +2 -0 src/kmmainwidget.cpp
https://invent.kde.org/pim/kmail/-/commit/5404b0f78d772e22ef75c78fc40c5c476de18d79
diff --git a/src/kmmainwidget.cpp b/src/kmmainwidget.cpp
index ca04dff7f..23f9dbc90 100644
--- a/src/kmmainwidget.cpp
+++ b/src/kmmainwidget.cpp
@@ -3570,10 +3570,12 @@ void KMMainWidget::setupActions()
}
QAction *undoAct = actionCollection()->addAction(QStringLiteral("kmail_undo"), KMKernel::self()->undoRedoManager()->undoStack()->createUndoAction(this));
+ undoAct->setIcon(QIcon::fromTheme(u"edit-undo"_s));
actionCollection()->setDefaultShortcuts(undoAct, KStandardShortcut::undo());
connect(undoAct, &QAction::triggered, this, &KMMainWidget::slotUndo);
QAction *redoAct = actionCollection()->addAction(QStringLiteral("kmail_redo"), KMKernel::self()->undoRedoManager()->undoStack()->createRedoAction(this));
+ redoAct->setIcon(QIcon::fromTheme(u"edit-redo"_s));
actionCollection()->setDefaultShortcuts(redoAct, KStandardShortcut::redo());
connect(redoAct, &QAction::triggered, this, &KMMainWidget::slotRedo);