Commit a9cae7c2 authored by Jocelyn Turcotte's avatar Jocelyn Turcotte
Browse files

Fix the new window example code GC problems


If we want to allow destroying the main window, we need to also
create it dynamically. Use an intermediate root QtObject to take
care of this.

Change-Id: I04ba2ac7b1a24ea75ee1eecc3ab9157e8645ab30
Reviewed-by: default avatarAndras Becsi <andras.becsi@theqtcompany.com>
parent 5d188337
Showing with 124 additions and 21 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