QmlJSEditor: only show context menu for Quick Toolbar if available
QmlJSEditor: only show context menu for Quick Toolbar if available

Task-number: QTCREATORBUG-4521
Change-Id: Iedd97549c6f724b58a0727694ea1b34a2c70d9e9
Reviewed-on: http://codereview.qt.nokia.com/2264
Reviewed-by: Leandro T. C. Melo <8f144cd741810d8c7b648cacf5b9b2f4e2ebcc1b@nokia.com>
Reviewed-by: Fawzi Mohamed <7388270c57edd0fabd71d8eb0322d66e3c40e57e@nokia.com>
Reviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@nokia.com>

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