diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-26 13:04:52 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-28 15:07:53 (GMT) |
commit | 8f0e2e8a995f16fe737e538ce6f35e91b5a100b5 (patch) | |
tree | 2eea76e2ae0913e9683a195ee2210938d0010ce6 /src/gui | |
parent | 0041606aefae5da0ff6c8187540f3eff33cbb643 (diff) | |
download | Qt-8f0e2e8a995f16fe737e538ce6f35e91b5a100b5.zip Qt-8f0e2e8a995f16fe737e538ce6f35e91b5a100b5.tar.gz Qt-8f0e2e8a995f16fe737e538ce6f35e91b5a100b5.tar.bz2 |
Clear Qt::WA_OutsideWSRange when making window fullscreen
Task-number: QTBUG-10269
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qwidget_s60.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp index 46f3254..d06328c 100644 --- a/src/gui/kernel/qwidget_s60.cpp +++ b/src/gui/kernel/qwidget_s60.cpp @@ -1130,8 +1130,10 @@ void QWidget::setWindowState(Qt::WindowStates newstate) const bool cbaVisibilityHint = windowFlags() & Qt::WindowSoftkeysVisibleHint; if (newstate & Qt::WindowFullScreen && !cbaVisibilityHint) { + setAttribute(Qt::WA_OutsideWSRange, false); window->SetExtentToWholeScreen(); } else if (newstate & Qt::WindowMaximized || ((newstate & Qt::WindowFullScreen) && cbaVisibilityHint)) { + setAttribute(Qt::WA_OutsideWSRange, false); TRect maxExtent = qt_QRect2TRect(qApp->desktop()->availableGeometry(this)); window->SetExtent(maxExtent.iTl, maxExtent.Size()); } else { |