--- a/src/gui/kernel/qapplication.cpp Fri May 14 16:40:13 2010 +0300
+++ b/src/gui/kernel/qapplication.cpp Thu May 27 13:40:48 2010 +0300
@@ -5255,20 +5255,10 @@
qic = QInputContextFactory::create(QLatin1String("xim"), that);
that->d_func()->inputContext = qic;
}
-#elif defined(Q_OS_SYMBIAN)
+#elif defined(Q_WS_S60)
if (!d->inputContext) {
QApplication *that = const_cast<QApplication *>(this);
- const QStringList keys = QInputContextFactory::keys();
- // Try hbim and coefep first, then try others.
- if (keys.contains("hbim")) {
- that->d_func()->inputContext = QInputContextFactory::create(QLatin1String("hbim"), that);
- } else if (keys.contains("coefep")) {
- that->d_func()->inputContext = QInputContextFactory::create(QLatin1String("coefep"), that);
- } else {
- for (int c = 0; c < keys.size() && !d->inputContext; ++c) {
- that->d_func()->inputContext = QInputContextFactory::create(keys[c], that);
- }
- }
+ that->d_func()->inputContext = QInputContextFactory::create(QString::fromLatin1("coefep"), that);
}
#endif
return d->inputContext;