diff options
author | A-Team <ateam@pad.test.qt.nokia.com> | 2010-09-27 22:00:20 (GMT) |
---|---|---|
committer | A-Team <ateam@pad.test.qt.nokia.com> | 2010-09-27 22:00:20 (GMT) |
commit | 588105a6046c1b7ca81471846c8876d35c87a486 (patch) | |
tree | ef6f242fba71e9719ebd1f2c91211440c8d5820d /src/gui/kernel | |
parent | 014797f54e24172d424f88e8e2e53f16759d6bb5 (diff) | |
parent | 7b796b4dcdebfba55c4754d241edb334217fc550 (diff) | |
download | Qt-588105a6046c1b7ca81471846c8876d35c87a486.zip Qt-588105a6046c1b7ca81471846c8876d35c87a486.tar.gz Qt-588105a6046c1b7ca81471846c8876d35c87a486.tar.bz2 |
Merge branch '4.7-upstream' into 4.7-doc
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index e937918..2be3ed3 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -1341,6 +1341,10 @@ void QSymbianControl::setFocusSafely(bool focus) // focus in Symbian. If this is not executed, the control which happens to be on // the top of the stack may randomly be assigned focus by Symbian, for example // when creating new windows (specifically in CCoeAppUi::HandleStackChanged()). + + // Close any popups. + CEikonEnv::Static()->EikAppUi()->StopDisplayingMenuBar(); + if (focus) { S60->appUi()->RemoveFromStack(this); // Symbian doesn't automatically remove focus from the last focused control, so we need to |