Explicitly quit when all (relevant) windows are closed
Explicitly quit when all (relevant) windows are closed

This shouldn't be necessary, works around QTBUG-31569 (Qt5)

Change-Id: Iff157a76a896bc4d6224039ae859788818abba8b
Reviewed-by: Nikolai Kosjar <9571db158ca61a0d070db010803474231fa0cbab@digia.com>

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