QmlProfiler: fix crash with context menu when nothing is selected
QmlProfiler: fix crash with context menu when nothing is selected

Change-Id: I8e5e47e1fcc620c823e7d3e1c5a643fb09d4b392
Reviewed-by: Kai Koehne <077bc265216106fb22408e62f2d97925ede69d10@nokia.com>

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