core/reloader: fix Quickshell.reload not working

Has been broken since engine generations were introduced.
This commit is contained in:
outfoxxed 2024-03-25 01:57:15 -07:00
parent 4eb5dc5593
commit c6bf826031
Signed by untrusted user: outfoxxed
GPG key ID: 4C88A185FB89301E
3 changed files with 7 additions and 2 deletions

View file

@ -46,6 +46,7 @@ void RootWrapper::reloadGraph(bool hard) {
scanner.scanQmlFile(this->rootPath);
auto* generation = new EngineGeneration(std::move(scanner));
generation->wrapper = this;
// todo: move into EngineGeneration
if (this->generation != nullptr) {