[pim/kdepim-runtime] agents/newmailnotifier: Activate all the time

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

Activate all the time

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

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

diff --git a/agents/newmailnotifier/newmailnotifieragent.cpp b/agents/newmailnotifier/newmailnotifieragent.cpp
index 862ce98f8..56f61878c 100644
--- a/agents/newmailnotifier/newmailnotifieragent.cpp
+++ b/agents/newmailnotifier/newmailnotifieragent.cpp
@@ -80,9 +80,7 @@ NewMailNotifierAgent::NewMailNotifierAgent(const QString &id)
     mTimer.setInterval(5s); // 5secondes
     connect(&mTimer, &QTimer::timeout, this, &NewMailNotifierAgent::slotShowNotifications);
 
-    if (isActive()) {
-        mTimer.setSingleShot(true);
-    }
+    mTimer.setSingleShot(true);
 }
 
 NewMailNotifierAgent::~NewMailNotifierAgent()
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.