core/transformwatcher: fix crash when a or b is destroyed

Usually happens during reload.
This commit is contained in:
outfoxxed 2024-06-09 15:42:38 -07:00
parent b5b9c1f6c3
commit 67783ec24c
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 51 additions and 2 deletions

View file

@ -60,6 +60,9 @@ signals:
private slots:
void recalcChains();
void itemDestroyed();
void aDestroyed();
void bDestroyed();
private:
void resolveChains(QQuickItem* a, QQuickItem* b, QQuickItem* commonParent);