[pim/messagelib] messagelist/src/core: const'ify qvariant

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

const'ify qvariant

M  +1    -1    messagelist/src/core/widgetbase.cpp

https://invent.kde.org/pim/messagelib/-/commit/e785c29e7ddbeb7e09b9d15ce4fc1a38a4764e5d

diff --git a/messagelist/src/core/widgetbase.cpp b/messagelist/src/core/widgetbase.cpp
index 63f4e0b77..9e2cd89a3 100644
--- a/messagelist/src/core/widgetbase.cpp
+++ b/messagelist/src/core/widgetbase.cpp
@@ -474,7 +474,7 @@ void Widget::themeSelected(bool)
         return;
     }
 
-    QVariant v = act->data();
+    const QVariant v = act->data();
     const QString id = v.toString();
 
     if (id.isEmpty()) {
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.