Commit 2a6a3376 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

Don't start QQmlThreads from their constructor


In the case of derived classes (like the only user of QQmlThread) we
cannot guarantee that the class is completely constructed when the
thread starts. This includes the vtable which is necessary to decide
which virtual functions to call.

Change-Id: Ieaea67a72cc3b4f845b8621b34ca2928185917fb
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent 0265eec3
Showing with 13 additions and 6 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment