Fixed a crash when deleting files from a project under certain conditions
Fixed a crash when deleting files from a project under certain conditions

Task-number: QTCREATORBUG-1804
Merge-request: 2168
Reviewed-by: Oswald Buddenhagen <6a8868beda3e139b5ac22b2534a23d3e6ba81819@nokia.com>

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