[network/ruqola] src/widgets/databasedialog: Coding style

Laurent Montel <[email protected]> Wed, 5 Aug 2026 05:29:20 +0000 (UTC)
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 8c3e5032c70507dd1de162f707c31d29a39dc3ed by Laurent Montel.
Committed on 05/08/2026 at 05:22.
Pushed by mlaurent into branch 'master'.

Coding style

M  +2    -1    src/widgets/databasedialog/exploredatabaseroomiddelegate.cpp

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

diff --git a/src/widgets/databasedialog/exploredatabaseroomiddelegate.cpp b/src/widgets/databasedialog/exploredatabaseroomiddelegate.cpp
index 41e9a43ad0..eebd19e5dc 100644
--- a/src/widgets/databasedialog/exploredatabaseroomiddelegate.cpp
+++ b/src/widgets/databasedialog/exploredatabaseroomiddelegate.cpp
@@ -28,8 +28,9 @@ QString ExploreDatabaseRoomIdDelegate::displayText(const QVariant &value, const
 
 bool ExploreDatabaseRoomIdDelegate::helpEvent(QHelpEvent *event, QAbstractItemView *view, const QStyleOptionViewItem &option, const QModelIndex &index)
 {
-    if (!event || !view)
+    if (!event || !view) {
         return false;
+    }
 
     if (event->type() == QEvent::ToolTip) {
         const QString tooltip = index.data(Qt::DisplayRole).toString();