summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-12 04:45:51 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-12 04:45:51 (GMT)
commit1e3b3551b8498e1f4dc92982e2a040ba90a6bf26 (patch)
treedee1f64c3a9e26e07bc9cea00b90e800b932a6f2 /src/gui/kernel/qapplication.cpp
parent20a00436174faf746be14f5c36908710eeb44101 (diff)
parent381ea9c22eb8f6b3701376a650202f094e17746d (diff)
downloadQt-1e3b3551b8498e1f4dc92982e2a040ba90a6bf26.zip
Qt-1e3b3551b8498e1f4dc92982e2a040ba90a6bf26.tar.gz
Qt-1e3b3551b8498e1f4dc92982e2a040ba90a6bf26.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Conflicts: doc/src/declarative/javascriptblocks.qdoc
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r--src/gui/kernel/qapplication.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index be2683d..b0a23d4 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -5292,9 +5292,9 @@ QInputContext *QApplication::inputContext() const
QApplication *that = const_cast<QApplication *>(this);
const QStringList keys = QInputContextFactory::keys();
// Try hbim and coefep first, then try others.
- if (keys.contains("hbim")) {
+ if (keys.contains(QLatin1String("hbim"))) {
that->d_func()->inputContext = QInputContextFactory::create(QLatin1String("hbim"), that);
- } else if (keys.contains("coefep")) {
+ } else if (keys.contains(QLatin1String("coefep"))) {
that->d_func()->inputContext = QInputContextFactory::create(QLatin1String("coefep"), that);
} else {
for (int c = 0; c < keys.size() && !d->inputContext; ++c) {