core/window: ensure window cannot be made visible during reload

This causes duplicate windows.
This commit is contained in:
outfoxxed 2024-03-27 02:38:54 -07:00
parent 9625129844
commit 9cbd5abd96
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 4 additions and 1 deletions

View file

@ -129,6 +129,7 @@ protected:
PendingRegion* mMask = nullptr;
QQuickWindow* window = nullptr;
QQuickItem* mContentItem = nullptr;
bool reloadComplete = false;
private:
void updateMask();