diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-07-26 13:04:52 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-09-03 03:13:31 (GMT) |
commit | 513779cd38ed994843d49f558c9617fc3ad689a2 (patch) | |
tree | 860f4fa66494a5b0c6d24e46360e85d2157c5be4 | |
parent | 189a807b535b6c40b53c2779183389dfbf92bd65 (diff) | |
download | Qt-513779cd38ed994843d49f558c9617fc3ad689a2.zip Qt-513779cd38ed994843d49f558c9617fc3ad689a2.tar.gz Qt-513779cd38ed994843d49f558c9617fc3ad689a2.tar.bz2 |
Clear Qt::WA_OutsideWSRange when making window fullscreen
Task-number: QTBUG-10269
Reviewed-by: Jason Barron
(cherry picked from commit 859cca02a89ecadbb5578bb113e535374bcfcaca)
-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 db6da57..319f330 100644 --- a/src/gui/kernel/qwidget_s60.cpp +++ b/src/gui/kernel/qwidget_s60.cpp @@ -1134,8 +1134,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 { |