diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2012-07-09 12:33:36 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-19 15:28:18 +0200 |
commit | af8e318b35498543107e7251324ccdc0c4152483 (patch) | |
tree | 5784e7e3fb0a586229203c1d0ecf21a3e533b57a /src/plugins/platforms/minimalegl | |
parent | 85d664c929250f9e6cc354a3104906a21b5dac15 (diff) |
QWidget/Win: fix restoreGeometry() from fullscreen mode
When turning off fullscreen mode and restoring the widget's geometry
we must inform the QWindow about the geometry change synchronously.
Otherwise QWidget::geometry() will return the old value.
Using the same technique for the state transition to fullscreen mode
without sending a separate resize event.
Autotest: tst_QWidget::saveRestoreGeometry
Task-number: QTBUG-26421
Change-Id: I869e36cd302d9a94e398f48949ab3cb7ee9cdf51
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/plugins/platforms/minimalegl')
0 files changed, 0 insertions, 0 deletions