QmlJSBind: Set Root Object
QmlJSBind: Set Root Object

Avoid re-setting the root object of the document.

Task-Number: QTCREATORBUG-7379

Change-Id: I9d2209bf2e3dba8d9784fffe087859bddebeb16f
Reviewed-by: Fawzi Mohamed <7388270c57edd0fabd71d8eb0322d66e3c40e57e@nokia.com>
Reviewed-by: Christian Kamm <687e37a7866f5c6d83feb41198eb6d862161a68b@nokia.com>

amyvmiwei/qt-creator,malikcjm/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,colede/qtcreator,duythanhphan/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,colede/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,duythanhphan/qt-creator,colede/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,danimo/qt-creator,maui-packages/qt-creator,AltarBeastiful/qt-creator,syntheticpp/qt-creator,Distrotech/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,duythanhphan/qt-creator,KDE/android-qt-creator,richardmg/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,xianian/qt-creator,duythanhphan/qt-creator,xianian/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,danimo/qt-creator,maui-packages/qt-creator,syntheticpp/qt-creator,danimo/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,xianian/qt-creator,KDE/android-qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,danimo/qt-creator,malikcjm/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,richardmg/qtcreator,Distrotech/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,richardmg/qtcreator,danimo/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,richardmg/qtcreator,farseerri/git_code,omniacreator/qtcreator,malikcjm/qtcreator,kuba1/qtcreator,malikcjm/qtcreator,farseerri/git_code,danimo/qt-creator,duythanhphan/qt-creator,darksylinc/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,KDE/android-qt-creator,syntheticpp/qt-creator,colede/qtcreator,danimo/qt-creator,maui-packages/qt-creator,xianian/qt-creator,farseerri/git_code,omniacreator/qtcreator,amyvmiwei/qt-creator,omniacreator/qtcreator,farseerri/git_code,farseerri/git_code,maui-packages/qt-creator,martyone/sailfish-qtcreator,richardmg/qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,Distrotech/qtcreator,kuba1/qtcreator,AltarBeastiful/qt-creator,omniacreator/qtcreator,xianian/qt-creator,darksylinc/qt-creator,danimo/qt-creator,colede/qtcreator,malikcjm/qtcreator,Distrotech/qtcreator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,malikcjm/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,KDE/android-qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,maui-packages/qt-creator,syntheticpp/qt-creator,xianian/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,farseerri/git_code,richardmg/qtcreator,colede/qtcreator,malikcjm/qtcreator,kuba1/qtcreator,kuba1/qtcreator