Sidebar: Prevent items turning to top-level windows
Sidebar: Prevent items turning to top-level windows

Sometimes, this behavior occurred especially on OS X, and to lesser
extent on Linux and windows too.

Reviewed-by: Thomas Hartmann

hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,azat/qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,azat/qtcreator,malikcjm/qtcreator,kuba1/qtcreator,bakaiadam/collaborative_qt_creator,syntheticpp/qt-creator,jonnor/qt-creator,dmik/qt-creator-os2,maui-packages/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,duythanhphan/qt-creator,yinyunqiao/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,xianian/qt-creator,KDE/android-qt-creator,darksylinc/qt-creator,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,malikcjm/qtcreator,richardmg/qtcreator,omniacreator/qtcreator,KDAB/KDAB-Creator,KDAB/KDAB-Creator,martyone/sailfish-qtcreator,pcacjr/qt-creator,malikcjm/qtcreator,hdweiss/qt-creator-visualizer,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,Distrotech/qtcreator,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,kuba1/qtcreator,ostash/qt-creator-i18n-uk,hdweiss/qt-creator-visualizer,farseerri/git_code,KDE/android-qt-creator,yinyunqiao/qtcreator,omniacreator/qtcreator,pcacjr/qt-creator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,darksylinc/qt-creator,amyvmiwei/qt-creator,pcacjr/qt-creator,maui-packages/qt-creator,farseerri/git_code,colede/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,syntheticpp/qt-creator,bakaiadam/collaborative_qt_creator,jonnor/qt-creator,amyvmiwei/qt-creator,KDE/android-qt-creator,dmik/qt-creator-os2,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,darksylinc/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,renatofilho/QtCreator,KDE/android-qt-creator,pcacjr/qt-creator,dmik/qt-creator-os2,colede/qtcreator,omniacreator/qtcreator,sandsmark/qtcreator-minimap,sandsmark/qtcreator-minimap,renatofilho/QtCreator,yinyunqiao/qtcreator,jonnor/qt-creator,amyvmiwei/qt-creator,bakaiadam/collaborative_qt_creator,danimo/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,dmik/qt-creator-os2,farseerri/git_code,Distrotech/qtcreator,yinyunqiao/qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,KDAB/KDAB-Creator,amyvmiwei/qt-creator,xianian/qt-creator,Distrotech/qtcreator,dmik/qt-creator-os2,hdweiss/qt-creator-visualizer,xianian/qt-creator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,ostash/qt-creator-i18n-uk,duythanhphan/qt-creator,renatofilho/QtCreator,KDE/android-qt-creator,yinyunqiao/qtcreator,darksylinc/qt-creator,colede/qtcreator,azat/qtcreator,azat/qtcreator,kuba1/qtcreator,syntheticpp/qt-creator,darksylinc/qt-creator,danimo/qt-creator,sandsmark/qtcreator-minimap,dmik/qt-creator-os2,richardmg/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,farseerri/git_code,maui-packages/qt-creator,darksylinc/qt-creator,pcacjr/qt-creator,malikcjm/qtcreator,richardmg/qtcreator,jonnor/qt-creator,renatofilho/QtCreator,sandsmark/qtcreator-minimap,danimo/qt-creator,AltarBeastiful/qt-creator,bakaiadam/collaborative_qt_creator,syntheticpp/qt-creator,danimo/qt-creator,xianian/qt-creator,syntheticpp/qt-creator,farseerri/git_code,danimo/qt-creator,amyvmiwei/qt-creator,renatofilho/QtCreator,danimo/qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,danimo/qt-creator,colede/qtcreator,pcacjr/qt-creator,xianian/qt-creator,KDAB/KDAB-Creator,AltarBeastiful/qt-creator,sandsmark/qtcreator-minimap,jonnor/qt-creator,ostash/qt-creator-i18n-uk,richardmg/qtcreator,Distrotech/qtcreator,ostash/qt-creator-i18n-uk,xianian/qt-creator,syntheticpp/qt-creator,martyone/sailfish-qtcreator,richardmg/qtcreator,danimo/qt-creator,pcacjr/qt-creator,xianian/qt-creator,azat/qtcreator,AltarBeastiful/qt-creator,yinyunqiao/qtcreator,malikcjm/qtcreator,colede/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,omniacreator/qtcreator,malikcjm/qtcreator,omniacreator/qtcreator,renatofilho/QtCreator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,maui-packages/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,hdweiss/qt-creator-visualizer,KDAB/KDAB-Creator,syntheticpp/qt-creator,colede/qtcreator,azat/qtcreator,yinyunqiao/qtcreator,KDE/android-qt-creator,hdweiss/qt-creator-visualizer,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,jonnor/qt-creator,KDE/android-qt-creator,maui-packages/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,farseerri/git_code,farseerri/git_code,sandsmark/qtcreator-minimap