Skip to content

Commit 5b01ec0

Browse files
committed
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.
1 parent f0aca20 commit 5b01ec0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/debug/lint.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ bool isRenderable(QQuickItem* item);
2121
void lintObjectTree(QObject* object) {
2222
if (!logLint().isWarningEnabled()) return;
2323

24-
qCDebug(logLint) << "Walking children of object" << object;
25-
2624
for (auto* child: object->children()) {
2725
if (child->isQuickItemType()) {
2826
auto* item = static_cast<QQuickItem*>(child); // NOLINT;
@@ -36,10 +34,8 @@ void lintObjectTree(QObject* object) {
3634
void lintItemTree(QQuickItem* item) {
3735
if (!logLint().isWarningEnabled()) return;
3836

39-
qCDebug(logLint) << "Running lints for item" << item;
4037
lintZeroSized(item);
4138

42-
qCDebug(logLint) << "Walking visual children of item" << item;
4339
for (auto* child: item->childItems()) {
4440
lintItemTree(child);
4541
}

0 commit comments

Comments
 (0)