[pim/kmail] src: Add slotRedo

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8b3b0101663745b92543bedbf1d6b977d78fa142 by Laurent Montel.
Committed on 27/07/2026 at 06:22.
Pushed by mlaurent into branch 'master'.

Add slotRedo

M  +7    -0    src/kmmainwidget.cpp
M  +1    -0    src/kmmainwidget.h

https://invent.kde.org/pim/kmail/-/commit/8b3b0101663745b92543bedbf1d6b977d78fa142

diff --git a/src/kmmainwidget.cpp b/src/kmmainwidget.cpp
index 0d1671d4d..dd0db19fe 100644
--- a/src/kmmainwidget.cpp
+++ b/src/kmmainwidget.cpp
@@ -2250,6 +2250,13 @@ void KMMainWidget::slotUndo()
     updateFolderMenu();
 }
 
+void KMMainWidget::slotRedo()
+{
+    // TODO
+    updateMessageActions();
+    updateFolderMenu();
+}
+
 //-----------------------------------------------------------------------------
 void KMMainWidget::slotJumpToFolder()
 {
diff --git a/src/kmmainwidget.h b/src/kmmainwidget.h
index 462e1c090..a5ea096f9 100644
--- a/src/kmmainwidget.h
+++ b/src/kmmainwidget.h
@@ -375,6 +375,7 @@ private Q_SLOTS:
     KMAIL_NO_EXPORT void slotTrashThread();
     KMAIL_NO_EXPORT void slotDeleteThread(bool confirmDelete); // completely delete thread
     KMAIL_NO_EXPORT void slotUndo();
+    KMAIL_NO_EXPORT void slotRedo();
     KMAIL_NO_EXPORT void slotReadOn();
     KMAIL_NO_EXPORT void slotSaveMsg();
     KMAIL_NO_EXPORT void slotOpenMsg();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.