summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qlinecontrol.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-21 13:26:06 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:11 (GMT)
commitfccbc9b94d843f4c55834ee75127cd6219b4839a (patch)
tree9c02c9429e8ad2140cf1567b74a4908834158199 /src/gui/widgets/qlinecontrol.cpp
parentf73e3063649220f80b2d0ada3a7f087c32c0bfc8 (diff)
downloadQt-fccbc9b94d843f4c55834ee75127cd6219b4839a.zip
Qt-fccbc9b94d843f4c55834ee75127cd6219b4839a.tar.gz
Qt-fccbc9b94d843f4c55834ee75127cd6219b4839a.tar.bz2
Fix LIBRARY and ICON
However, compiling with QT_NO_ICON will still not work :( Reviewed-by: tom
Diffstat (limited to 'src/gui/widgets/qlinecontrol.cpp')
-rw-r--r--src/gui/widgets/qlinecontrol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/qlinecontrol.cpp b/src/gui/widgets/qlinecontrol.cpp
index 7f9ff82..8f17e98 100644
--- a/src/gui/widgets/qlinecontrol.cpp
+++ b/src/gui/widgets/qlinecontrol.cpp
@@ -447,8 +447,9 @@ void QLineControl::processInputMethodEvent(QInputMethodEvent *event)
cursorPositionChanged = true;
}
}
-
+#ifndef QT_NO_IM
setPreeditArea(m_cursor, event->preeditString());
+#endif //QT_NO_IM
m_preeditCursor = event->preeditString().length();
m_hideCursor = false;
QList<QTextLayout::FormatRange> formats;