summaryrefslogtreecommitdiffstats
path: root/src/gui/inputmethod
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-11-10 15:45:08 (GMT)
committeraxis <qt-info@nokia.com>2009-11-10 15:45:08 (GMT)
commitb59349a06aeb0933085f76b7401085e63d4d4088 (patch)
treec5172c9ab738580a8f20cca19ff5af9e04208c7d /src/gui/inputmethod
parent05eacd9ad40f8adb5aaa12a8b90113a73b43f642 (diff)
downloadQt-b59349a06aeb0933085f76b7401085e63d4d4088.zip
Qt-b59349a06aeb0933085f76b7401085e63d4d4088.tar.gz
Qt-b59349a06aeb0933085f76b7401085e63d4d4088.tar.bz2
Fixed indentation.
Diffstat (limited to 'src/gui/inputmethod')
-rw-r--r--src/gui/inputmethod/qcoefepinputcontext_s60.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
index ceace4a..5db6f0d 100644
--- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
+++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp
@@ -695,12 +695,12 @@ void QCoeFepInputContext::DoCommitFepInlineEditL()
void QCoeFepInputContext::commitCurrentString(bool triggeredBySymbian)
{
if (m_preeditString.size() == 0) {
- QWidget *w = focusWidget();
- if(triggeredBySymbian && w){
- // We must replace the last character only if the input box has already accepted one
- if (w->inputMethodQuery(Qt::ImCursorPosition).toInt() != m_cursorPos)
- m_longPress = 1;
- }
+ QWidget *w = focusWidget();
+ if (triggeredBySymbian && w) {
+ // We must replace the last character only if the input box has already accepted one
+ if (w->inputMethodQuery(Qt::ImCursorPosition).toInt() != m_cursorPos)
+ m_longPress = 1;
+ }
return;
}