QmlProfiler: Don't try to get ID of invalid selection.
QmlProfiler: Don't try to get ID of invalid selection.

This fixes an out-of-bounds array access.

Change-Id: Ia572d87ba00160f0869d8c7ab2941b4f9bc403f5
Reviewed-by: Kai Koehne <077bc265216106fb22408e62f2d97925ede69d10@digia.com>

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