debug: add lint for zero sized items

This commit is contained in:
outfoxxed 2024-11-19 15:25:42 -08:00
parent 66b494d760
commit 6ceee06884
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
7 changed files with 109 additions and 0 deletions

11
src/debug/lint.hpp Normal file
View file

@ -0,0 +1,11 @@
#pragma once
#include <qobject.h>
#include <qquickitem.h>
namespace qs::debug {
void lintObjectTree(QObject* object);
void lintItemTree(QQuickItem* item);
} // namespace qs::debug