[pim/kdepim-runtime] agents/newmailnotifier: Start timer when we move item too

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 2e003d0ee0808e9cdf1317aa7918bf6bd2e4cb31 by Laurent Montel.
Committed on 16/08/2026 at 11:26.
Pushed by mlaurent into branch 'master'.

Start timer when we move item too

M  +3    -0    agents/newmailnotifier/newmailnotifieragent.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/2e003d0ee0808e9cdf1317aa7918bf6bd2e4cb31

diff --git a/agents/newmailnotifier/newmailnotifieragent.cpp b/agents/newmailnotifier/newmailnotifieragent.cpp
index 56f61878c..1cb694fa7 100644
--- a/agents/newmailnotifier/newmailnotifieragent.cpp
+++ b/agents/newmailnotifier/newmailnotifieragent.cpp
@@ -235,6 +235,9 @@ void NewMailNotifierAgent::itemsMoved(const Akonadi::Item::List &items,
             }
         }
     }
+    if (!mTimer.isActive()) {
+        mTimer.start();
+    }
 }
 
 bool NewMailNotifierAgent::ignoreStatusMail(const Akonadi::Item &item)
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.