[pim/kmail] src: Remove commented code

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

Remove commented code

M  +0    -4    src/kmmainwidget.cpp

https://invent.kde.org/pim/kmail/-/commit/590cb7898a2e983d66bdfb2bf22f024b07c7d53d

diff --git a/src/kmmainwidget.cpp b/src/kmmainwidget.cpp
index 45e5af087..ca04dff7f 100644
--- a/src/kmmainwidget.cpp
+++ b/src/kmmainwidget.cpp
@@ -4035,10 +4035,6 @@ void KMMainWidget::updateMessageActionsDelayed()
     mMessageNewList->setEnabled(newPostToMailingList);
 
     slotUpdateOnlineStatus(static_cast<GlobalSettingsBase::EnumNetworkState::type>(KMailSettings::self()->networkState()));
-    if (QAction *act = action(QStringLiteral("kmail_undo"))) {
-        // TODO act->setEnabled(kmkernel->undoStack() && !kmkernel->undoStack()->isEmpty());
-    }
-
     // Enable / disable all filters.
     for (QAction *filterAction : std::as_const(mFilterMenuActions)) {
         filterAction->setEnabled(count > 0);
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.