Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.6.2
-
None
Description
I have activated the AutoRotation flag in my MainWindow (rotation works fine). In a paintEvent of a widget I used QApplication::desktop()->screenGeometry() to know if the widget paints in landscape or portrait mode. When rotation emits the paintEvent for that widget the widget's rect() is already rotated but the screenGeometry() isn't. So I had to change my code to ask the widget's rect() to decide about landscape or portrait mode.
Maybe this is an issue for Maemo 6 (MeeGo) also? I didn't try...