qmljs: fix PathsAndLanguages::compact, don't skip tail
qmljs: fix PathsAndLanguages::compact, don't skip tail

Change-Id: Ie6f99ec2728f8584031d6b6f7d8c3c897300ea9e
Reviewed-by: Christian Stenger <accbb51712d7b9c4fb108439d01e716148e5f9e6@digia.com>

AltarBeastiful/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,xianian/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,farseerri/git_code,danimo/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,farseerri/git_code,farseerri/git_code,xianian/qt-creator,kuba1/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,maui-packages/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,farseerri/git_code,danimo/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,danimo/qt-creator,kuba1/qtcreator,danimo/qt-creator,maui-packages/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,danimo/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,xianian/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,danimo/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,xianian/qt-creator,danimo/qt-creator,danimo/qt-creator,kuba1/qtcreator,Distrotech/qtcreator,xianian/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator