Calculate the submenu position after emitting aboutToShow()
authorPierre Rossi <pierre.rossi@nokia.com>
Thu, 6 Jan 2011 21:09:48 +0000 (22:09 +0100)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:45 +0000 (12:54 +0200)
commita74f09044e705955fa837925d2fb9ce533660fcf
tree798eaa0a83a2d1414d546f02d02a8de124928cbd
parent09e2335f6d19b6502a3280e2da9ac5b610d6e539
Calculate the submenu position after emitting aboutToShow()

The rationale behind this is that if the submenu gets populated in a slot
connected to aboutToShow(), we'll have to do it again anyway.

Task-number: QTBUG-14739
Reviewed-by: Thierry
(cherry picked from commit 0848b860b9251e76b9319f65554f932ab68e33cc)
src/gui/widgets/qmenu.cpp