fix: make ProxyWindowBase's contentItem accessible for anchors

This commit is contained in:
outfoxxed 2024-02-01 02:40:05 -08:00
parent 362789fc46
commit e1281b8e7b
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 7 additions and 1 deletions

View file

@ -32,6 +32,8 @@ QQuickWindow* ProxyWindowBase::disownWindow() {
return window;
}
QQuickItem* ProxyWindowBase::item() { return this->window->contentItem(); }
// NOLINTNEXTLINE
#define PROXYPROP(type, get, set) \
type ProxyWindowBase::get() { return this->window->get(); } \