From 5b01ec032e74e6ff86c0043716b900498eb74cf6 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Fri, 22 Nov 2024 16:15:03 -0800 Subject: [PATCH] debug/linter: remove log messages Printing qml items here breaks the qml engine in a way that made transparent rectangles in the scene graph opaque. --- src/debug/lint.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/debug/lint.cpp b/src/debug/lint.cpp index 60d8224f..f9727968 100644 --- a/src/debug/lint.cpp +++ b/src/debug/lint.cpp @@ -21,8 +21,6 @@ bool isRenderable(QQuickItem* item); void lintObjectTree(QObject* object) { if (!logLint().isWarningEnabled()) return; - qCDebug(logLint) << "Walking children of object" << object; - for (auto* child: object->children()) { if (child->isQuickItemType()) { auto* item = static_cast(child); // NOLINT; @@ -36,10 +34,8 @@ void lintObjectTree(QObject* object) { void lintItemTree(QQuickItem* item) { if (!logLint().isWarningEnabled()) return; - qCDebug(logLint) << "Running lints for item" << item; lintZeroSized(item); - qCDebug(logLint) << "Walking visual children of item" << item; for (auto* child: item->childItems()) { lintItemTree(child); }