Added a check for empty filename
Added a check for empty filename

No empty entries should be added to the completion list, but it seems
like this is what is happening. Maybe this warning will give some more
information about the problem.

Reviewed-by: Daniel Molkentin <f783803728c8c54bb3b904348e09c96edb466bf9@nokia.com>

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