summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-05-08 13:16:29 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2009-05-08 13:16:29 (GMT)
commit22086750fa3102810a8acc6bcab7ca5faafba41a (patch)
treee7f34b6dc867645cbd73efb9d06b7579e8ae51fa /src
parent9efbed679fb5108a93eaadb9bcfb74dfcff02a67 (diff)
parentd553a736b4dd83375cd7234ac12afefc89da5c70 (diff)
downloadQt-22086750fa3102810a8acc6bcab7ca5faafba41a.zip
Qt-22086750fa3102810a8acc6bcab7ca5faafba41a.tar.gz
Qt-22086750fa3102810a8acc6bcab7ca5faafba41a.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qeventdispatcher_symbian.cpp1
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp6
2 files changed, 5 insertions, 2 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp
index 3110e63..6c47c7b 100644
--- a/src/corelib/kernel/qeventdispatcher_symbian.cpp
+++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp
@@ -505,7 +505,6 @@ void QEventDispatcherSymbian::closingDown()
delete m_wakeUpAO;
if (m_activeScheduler) {
- CActiveScheduler::Install(NULL);
delete m_activeScheduler;
}
}
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index bf50383..1ae3d79 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -207,7 +207,11 @@ QString QCoeFepInputContext::language()
bool QCoeFepInputContext::filterEvent(const QEvent *event)
{
- Q_ASSERT(focusWidget());
+ // The CloseSoftwareInputPanel event is not handled here, because the VK will automatically
+ // close when it discovers that the underlying widget does not have input capabilities.
+
+ if (!focusWidget())
+ return false;
if (event->type() == QEvent::KeyPress || event->type() == QEvent::KeyRelease) {
const QKeyEvent *keyEvent = static_cast<const QKeyEvent *>(event);