[pim/kmail] src: Add destructor

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 557ff34add81d7dff9f0fe1ec593c4158172f63f by Laurent Montel.
Committed on 23/07/2026 at 05:39.
Pushed by mlaurent into branch 'master'.

Add destructor

M  +4    -0    src/undostack.cpp
M  +2    -1    src/undostack.h

https://invent.kde.org/pim/kmail/-/commit/557ff34add81d7dff9f0fe1ec593c4158172f63f

diff --git a/src/undostack.cpp b/src/undostack.cpp
index 1a413566e..4e773ed37 100644
--- a/src/undostack.cpp
+++ b/src/undostack.cpp
@@ -103,6 +103,10 @@ void UndoInfoMoveItems::slotMoveResult(KJob *job)
     deleteLater();
 }
 
+UndoInfoMoveItems::UndoInfoMoveItems() = default;
+
+UndoInfoMoveItems::~UndoInfoMoveItems() = default;
+
 QString UndoInfoMoveItems::undoInfo() const
 {
     return moveToTrash ? i18n("Move To Trash") : i18np("Move Message", "Move Messages", items.count());
diff --git a/src/undostack.h b/src/undostack.h
index c0e6f34f9..29e4cb5c0 100644
--- a/src/undostack.h
+++ b/src/undostack.h
@@ -33,7 +33,8 @@ class UndoInfoMoveItems : public QObject
 {
     Q_OBJECT
 public:
-    UndoInfoMoveItems() = default;
+    UndoInfoMoveItems();
+    ~UndoInfoMoveItems() override;
     [[nodiscard]] QString undoInfo() const;
 
     void undo();
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.