core/reloader: trigger postReload with a signal

A signal is now used over the previous tree-searching method as some
QML components such as Repeater fail to reparent created children to
themselves, which breaks the tree.
This commit is contained in:
outfoxxed 2025-07-26 17:28:03 -07:00
parent 1644ed5e19
commit 0416032a7c
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
6 changed files with 15 additions and 16 deletions

View file

@ -26,7 +26,6 @@ public:
void registerSingleton(const QUrl& url, Singleton* singleton);
void onReload(SingletonRegistry* old);
void onPostReload();
private:
QHash<QUrl, Singleton*> registry;