[pim/kdepim-runtime] agents/newmailnotifier: Use [[maybe_unused]]

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

Use [[maybe_unused]]

M  +1    -2    agents/newmailnotifier/newmailnotificationhistorybrowsertext.cpp

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

diff --git a/agents/newmailnotifier/newmailnotificationhistorybrowsertext.cpp b/agents/newmailnotifier/newmailnotificationhistorybrowsertext.cpp
index 817d3df3c..ba10d7bd3 100644
--- a/agents/newmailnotifier/newmailnotificationhistorybrowsertext.cpp
+++ b/agents/newmailnotifier/newmailnotificationhistorybrowsertext.cpp
@@ -43,9 +43,8 @@ void NewMailNotificationHistoryBrowserText::doSetSource(const QUrl &url, QTextDo
     }
 }
 
-void NewMailNotificationHistoryBrowserText::addExtraMenuEntry(QMenu *menu, QPoint pos)
+void NewMailNotificationHistoryBrowserText::addExtraMenuEntry(QMenu *menu, [[maybe_unused]] QPoint pos)
 {
-    Q_UNUSED(pos)
     if (!toPlainText().isEmpty()) {
         QAction *clearAllAction = KStandardAction::clear(this, &NewMailNotificationHistoryBrowserText::clearHistory, menu);
         menu->addSeparator();
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.