summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2010-07-08 10:47:11 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-08 10:47:30 (GMT)
commitbd576d42be264ff60503db0da509ad16139de09f (patch)
treef920ccb1131e620d3b39a49db78d4ee0d606755f /src/gui/kernel/qapplication.cpp
parent63af499ed900b9aa8f4aff7253f4a9d1002dacda (diff)
downloadQt-bd576d42be264ff60503db0da509ad16139de09f.zip
Qt-bd576d42be264ff60503db0da509ad16139de09f.tar.gz
Qt-bd576d42be264ff60503db0da509ad16139de09f.tar.bz2
Fix compilation when QT_NO_IM is defined
Merge-request: 734 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r--src/gui/kernel/qapplication.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index ccfe88c..d984721 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -5291,6 +5291,7 @@ bool QApplication::keypadNavigationEnabled()
\sa QCoreApplication::instance()
*/
+#ifndef QT_NO_IM
// ************************************************************************
// Input Method support
// ************************************************************************
@@ -5356,6 +5357,7 @@ QInputContext *QApplication::inputContext() const
#endif
return d->inputContext;
}
+#endif // QT_NO_IM
//Returns the current platform used by keyBindings
uint QApplicationPrivate::currentPlatform(){