core/singleton: fix PostReloadHook in singletons

This commit is contained in:
outfoxxed 2024-03-20 01:37:30 -07:00
parent 9f38908bdf
commit 31264ac7d1
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 16 additions and 6 deletions

View file

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