[pim/kdepim-runtime] agents/newmailnotifier: We need to emit clearHistory otherwise history is not cleared

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

We need to emit clearHistory otherwise history is not cleared

M  +1    -1    agents/newmailnotifier/newmailnotificationhistorybrowsertextwidget.cpp

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

diff --git a/agents/newmailnotifier/newmailnotificationhistorybrowsertextwidget.cpp b/agents/newmailnotifier/newmailnotificationhistorybrowsertextwidget.cpp
index e6eb7cf18..e57d832a1 100644
--- a/agents/newmailnotifier/newmailnotificationhistorybrowsertextwidget.cpp
+++ b/agents/newmailnotifier/newmailnotificationhistorybrowsertextwidget.cpp
@@ -9,7 +9,7 @@
 NewMailNotificationHistoryBrowserTextWidget::NewMailNotificationHistoryBrowserTextWidget(NewMailNotificationHistoryBrowserText *editor, QWidget *parent)
     : TextCustomEditor::RichTextBrowserWidget(editor, parent)
 {
-    connect(editor, &NewMailNotificationHistoryBrowserText::clearHistory, this, &NewMailNotificationHistoryBrowserTextWidget::clear);
+    connect(editor, &NewMailNotificationHistoryBrowserText::clearHistory, this, &NewMailNotificationHistoryBrowserTextWidget::clearHistory);
 }
 
 NewMailNotificationHistoryBrowserTextWidget::~NewMailNotificationHistoryBrowserTextWidget() = default;
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.