core/proxywindow: fix ProxiedWindow proxy pointer after reload

Previously was not updated after reload, causing QsWindowAttached to
use the old window pointer after it had been freed.
This commit is contained in:
outfoxxed 2024-11-29 00:11:56 -08:00
parent 59298f6507
commit 8882f7ca50
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 32 additions and 0 deletions

View file

@ -168,6 +168,7 @@ public:
, mProxy(proxy) {}
[[nodiscard]] ProxyWindowBase* proxy() const { return this->mProxy; }
void setProxy(ProxyWindowBase* proxy) { this->mProxy = proxy; }
signals:
void exposed();