[utilities/kdebugsettings] src/core: Add space()

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

Add space()

M  +6    -6    src/core/loggingcategory.cpp

https://invent.kde.org/utilities/kdebugsettings/-/commit/47355f6717242b6cc47e03939e4fd407801cd8e5

diff --git a/src/core/loggingcategory.cpp b/src/core/loggingcategory.cpp
index 54dd6384..26a098b6 100644
--- a/src/core/loggingcategory.cpp
+++ b/src/core/loggingcategory.cpp
@@ -101,12 +101,12 @@ QString LoggingCategory::createRule() const
 
 QDebug operator<<(QDebug d, const LoggingCategory &cat)
 {
-    d << "customcategories cat: " << cat.description;
-    d << "logname: " << cat.categoryName;
-    d << "enabled: " << cat.enabled;
-    d << "type: " << cat.loggingType;
-    d << "identifier: " << cat.identifierName;
-    d << "default category: " << cat.defaultSeverityType;
+    d.space() << "customcategories cat: " << cat.description;
+    d.space() << "logname: " << cat.categoryName;
+    d.space() << "enabled: " << cat.enabled;
+    d.space() << "type: " << cat.loggingType;
+    d.space() << "identifier: " << cat.identifierName;
+    d.space() << "default category: " << cat.defaultSeverityType;
     return d;
 }
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.