Fix a bug with menu overflowing from a lower resolution second screen.
authorPierre Rossi <pierre.rossi@nokia.com>
Mon, 10 Jan 2011 17:46:19 +0000 (18:46 +0100)
committerOlivier Goffart <olivier.goffart@nokia.com>
Tue, 10 May 2011 10:54:45 +0000 (12:54 +0200)
commitfc9a9acbbeee58d14455b4b06a0ba717256f657b
tree0cc7082429131cb204665f2859498aab07d4f3a9
parenta74f09044e705955fa837925d2fb9ce533660fcf
Fix a bug with menu overflowing from a lower resolution second screen.

The menu needs to take into account the screen geometry of the screen
it's about to be shown on (not the last screen it was shown on) when
updating its actions rects

Task-number: QTBUG-2748
Reviewed-by: Thierry
(cherry picked from commit b10265efba544b1e4820f45b86354d442f6abf26)
src/gui/widgets/qmenu.cpp
src/gui/widgets/qmenu_p.h