qml: proper initialization if scene is already initialized
authorRoman Nowicki <rnowicki@sims.pl>
Thu, 19 Nov 2015 10:55:19 +0000 (11:55 +0100)
committerMatthew Waters <matthew@centricular.com>
Thu, 19 Nov 2015 22:41:56 +0000 (09:41 +1100)
commit21ca4ac9d3b29f5c08fa9db8cfbcf08981cfa9f6
treeb40e99d562eaab48df794009ff34e5793ceae2cf
parentb2718cbd81338e7edf037da0c5f69e15c9b50375
qml: proper initialization if scene is already initialized

The scene graph can be initialized when the we receive window handle change
notification and so we will not receive a scenegraph initialization
notification.  Initialize ourself in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=758337
ext/qt/qtitem.cc