summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-04-07 08:31:47 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-04-07 08:39:56 (GMT)
commit9e02410cc776ab7cc5bcc13bc3842aed79207741 (patch)
treea4fb48a27e605506ef83374b3afb93d4cef4f29e /src/gui/kernel
parenta20624e5f1b22a848a3fb92227f1cbca4f81b1ae (diff)
downloadQt-9e02410cc776ab7cc5bcc13bc3842aed79207741.zip
Qt-9e02410cc776ab7cc5bcc13bc3842aed79207741.tar.gz
Qt-9e02410cc776ab7cc5bcc13bc3842aed79207741.tar.bz2
Make encoding clear
Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/gui/kernel')
-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) {