diff --git a/src/core/reload.cpp b/src/core/reload.cpp index 4940ddc8..c62706ab 100644 --- a/src/core/reload.cpp +++ b/src/core/reload.cpp @@ -86,7 +86,7 @@ void Reloadable::reloadRecursive(QObject* newObj, QObject* oldRoot) { // pass handling to the child's onReload, which should call back into reloadRecursive, // with its oldInstance becoming the new oldRoot. - reloadable->onReload(oldInstance); + reloadable->reload(oldInstance); } else if (newObj != nullptr) { Reloadable::reloadChildrenRecursive(newObj, oldRoot); }