Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qt: Call setParent() in the parent's context
setParent(parent) calls sendEvent(parent, QChildEvent) that implies running in the thread which created the parent object.