root: recreate the qml engine on reload instead of clearing it

This causes singletons to be recreated instead of kept alive.
This commit is contained in:
outfoxxed 2024-03-12 14:55:51 -07:00
parent 9f6ef37f61
commit 463f9a297f
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
9 changed files with 109 additions and 78 deletions

View file

@ -1,5 +1,3 @@
#include "core/main.hpp"
int main(int argc, char** argv) {
return qs_main(argc, argv);
}
int main(int argc, char** argv) { return qs_main(argc, argv); }