[network/ruqola] src/widgets/room: Const'ify pointer

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 110ef730894d1536f91e3239a21f242aedde94b9 by Laurent Montel.
Committed on 31/07/2026 at 11:25.
Pushed by mlaurent into branch 'master'.

Const'ify pointer

M  +1    -1    src/widgets/room/messagetextedit.cpp

https://invent.kde.org/network/ruqola/-/commit/110ef730894d1536f91e3239a21f242aedde94b9

diff --git a/src/widgets/room/messagetextedit.cpp b/src/widgets/room/messagetextedit.cpp
index 96d19ca228..8717cbdf9f 100644
--- a/src/widgets/room/messagetextedit.cpp
+++ b/src/widgets/room/messagetextedit.cpp
@@ -228,7 +228,7 @@ QMenu *MessageTextEdit::mousePopupMenu()
 {
     QMenu *menu = KTextEdit::mousePopupMenu();
 
-    QClipboard *clip = QApplication::clipboard();
+    QClipboard *const clip = QApplication::clipboard();
     const QMimeData *mimeData = clip->mimeData();
     if (mimeData->hasImage()) {
         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.