Cleanup popup menu position.
Cleanup popup menu position.

The menus on toolbuttons are not placed next to the menu, like other toolbuttons,
instead of being opened at mouse position.

The code is similar to the code in QToolButton implementation.

Change-Id: I7893b0badcd35e00d0c6a27749d2bcf0b6f1d44b
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@nokia.com>

farseerri/git_code,farseerri/git_code,syntheticpp/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,colede/qtcreator,malikcjm/qtcreator,martyone/sailfish-qtcreator,richardmg/qtcreator,darksylinc/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,malikcjm/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,Distrotech/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,KDE/android-qt-creator,duythanhphan/qt-creator,colede/qtcreator,danimo/qt-creator,colede/qtcreator,darksylinc/qt-creator,xianian/qt-creator,colede/qtcreator,syntheticpp/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,richardmg/qtcreator,xianian/qt-creator,danimo/qt-creator,kuba1/qtcreator,colede/qtcreator,maui-packages/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,danimo/qt-creator,maui-packages/qt-creator,xianian/qt-creator,farseerri/git_code,malikcjm/qtcreator,malikcjm/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,KDE/android-qt-creator,colede/qtcreator,danimo/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,darksylinc/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,farseerri/git_code,xianian/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,KDE/android-qt-creator,xianian/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,colede/qtcreator,maui-packages/qt-creator,richardmg/qtcreator,Distrotech/qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,syntheticpp/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,omniacreator/qtcreator,danimo/qt-creator,darksylinc/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,omniacreator/qtcreator,duythanhphan/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,danimo/qt-creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,darksylinc/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,Distrotech/qtcreator,Distrotech/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,KDE/android-qt-creator,farseerri/git_code,richardmg/qtcreator,duythanhphan/qt-creator,omniacreator/qtcreator,malikcjm/qtcreator,KDE/android-qt-creator,KDE/android-qt-creator,xianian/qt-creator,malikcjm/qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator