[utilities/kdebugsettings] src/core/model: coding style

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

coding style

M  +2    -1    src/core/model/kdeapplicationloggingcategorymodel.cpp

https://invent.kde.org/utilities/kdebugsettings/-/commit/a684af3fbc2caa05085bc3ae879be21f66f48884

diff --git a/src/core/model/kdeapplicationloggingcategorymodel.cpp b/src/core/model/kdeapplicationloggingcategorymodel.cpp
index c6a9e0cd..cc8d895b 100644
--- a/src/core/model/kdeapplicationloggingcategorymodel.cpp
+++ b/src/core/model/kdeapplicationloggingcategorymodel.cpp
@@ -46,8 +46,9 @@ int KDEApplicationLoggingCategoryModel::columnCount(const QModelIndex &parent) c
 
 Qt::ItemFlags KDEApplicationLoggingCategoryModel::flags(const QModelIndex &index) const
 {
-    if (!index.isValid())
+    if (!index.isValid()) {
         return Qt::NoItemFlags;
+    }
 
     if (static_cast<CategoryRoles>(index.column()) == LoggingTypeStrRole) {
         return Qt::ItemIsEditable | QAbstractItemModel::flags(index);
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.