diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2009-12-21 13:00:50 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2009-12-21 13:00:50 (GMT) |
commit | beb16e0d8b3b81a67170c578a72d3816b87569cc (patch) | |
tree | 58610478853ebd85226469117dc608a64116c7de /src/gui/kernel/qapplication.cpp | |
parent | 69e848ff4a8dad648f706a34b106b8a84155c875 (diff) | |
parent | 71ee64f5a44dc310272b14fe6cd913b2e75672ed (diff) | |
download | Qt-beb16e0d8b3b81a67170c578a72d3816b87569cc.zip Qt-beb16e0d8b3b81a67170c578a72d3816b87569cc.tar.gz Qt-beb16e0d8b3b81a67170c578a72d3816b87569cc.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/qt-s60-public:
Edit focus should not be lost unless by explicit action
RVCT 2.2 compiler can't handle static inline functions with templates.
Forwarded return value from QtMainWrapper() to E32Main() exit code.
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index bd13423..4165c95 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -2096,7 +2096,11 @@ void QApplicationPrivate::setFocusWidget(QWidget *focus, Qt::FocusReason reason) if (prev) { #ifdef QT_KEYPAD_NAVIGATION if (QApplication::keypadNavigationEnabled()) { - if (prev->hasEditFocus() && reason != Qt::PopupFocusReason) + if (prev->hasEditFocus() && reason != Qt::PopupFocusReason +#ifdef Q_OS_SYMBIAN + && reason != Qt::ActiveWindowFocusReason +#endif + ) prev->setEditFocus(false); } #endif |