@@ -76,7 +76,10 @@ void ProxyWindowBase::onReload(QObject* oldInstance) {
7676 emit this ->windowConnected ();
7777 this ->postCompleteWindow ();
7878
79- if (wasVisible && this ->isVisibleDirect ()) emit this ->backerVisibilityChanged ();
79+ if (wasVisible && this ->isVisibleDirect ()) {
80+ emit this ->backerVisibilityChanged ();
81+ this ->runLints ();
82+ }
8083}
8184
8285void ProxyWindowBase::postCompleteWindow () { this ->setVisible (this ->mVisible ); }
@@ -137,7 +140,7 @@ void ProxyWindowBase::connectWindow() {
137140 QObject::connect (this ->window , &QWindow::heightChanged, this , &ProxyWindowBase::heightChanged);
138141 QObject::connect (this ->window , &QWindow::screenChanged, this , &ProxyWindowBase::screenChanged);
139142 QObject::connect (this ->window , &QQuickWindow::colorChanged, this , &ProxyWindowBase::colorChanged);
140- QObject::connect (this ->window , &ProxiedWindow::exposed, this , &ProxyWindowBase::onWindowExposeEvent );
143+ QObject::connect (this ->window , &ProxiedWindow::exposed, this , &ProxyWindowBase::runLints );
141144 // clang-format on
142145}
143146
@@ -221,7 +224,7 @@ void ProxyWindowBase::polishItems() {
221224 QQuickWindowPrivate::get (this ->window )->polishItems ();
222225}
223226
224- void ProxyWindowBase::onWindowExposeEvent () {
227+ void ProxyWindowBase::runLints () {
225228 if (!this ->ranLints ) {
226229 qs::debug::lintItemTree (this ->mContentItem );
227230 this ->ranLints = true ;
0 commit comments