[network/ruqola] src/widgets/room: Fix coding style

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8b10e50e33f71974f362ec5806fdee40c3482e01 by Laurent Montel.
Committed on 29/07/2026 at 21:06.
Pushed by mlaurent into branch 'master'.

Fix coding style

M  +2    -1    src/widgets/room/messagelistview.cpp

https://invent.kde.org/network/ruqola/-/commit/8b10e50e33f71974f362ec5806fdee40c3482e01

diff --git a/src/widgets/room/messagelistview.cpp b/src/widgets/room/messagelistview.cpp
index 824b0f7bb3..2df9afeb90 100644
--- a/src/widgets/room/messagelistview.cpp
+++ b/src/widgets/room/messagelistview.cpp
@@ -486,8 +486,9 @@ void MessageListView::contextMenuEvent(QContextMenuEvent *event)
         options.rect = visualRect(index);
         options.index = index;
         QString url = mMessageListDelegate->urlAt(options, index, viewport()->mapFromGlobal(event->globalPos()));
-        if (url.isEmpty())
+        if (url.isEmpty()) {
             return {};
+        }
         if (url.startsWith("ruqola:/user/"_L1)) {
             url.remove(u"ruqola:/user/"_s);
             if (!Utils::validUser(url)) {
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.