diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-05-12 01:14:39 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-05-12 01:53:02 (GMT) |
commit | 7827b791828c3efa96143ed7a9af354883c8d926 (patch) | |
tree | 646fc0edd4c293ccc1057c21841b6ea348aa50b0 /src/declarative/graphicsitems | |
parent | 43db14d83279566cdd5626321251efc5da8acc1d (diff) | |
download | Qt-7827b791828c3efa96143ed7a9af354883c8d926.zip Qt-7827b791828c3efa96143ed7a9af354883c8d926.tar.gz Qt-7827b791828c3efa96143ed7a9af354883c8d926.tar.bz2 |
Correctly position any input method popups for TextInput.
Reviewed-by: alexis
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp index 4d89887..8f86aa0 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp @@ -1018,6 +1018,8 @@ QVariant QDeclarativeTextInput::inputMethodQuery(Qt::InputMethodQuery property) { Q_D(const QDeclarativeTextInput); switch(property) { + case Qt::ImMicroFocus: + return d->control->cursorRect(); case Qt::ImFont: return font(); case Qt::ImCursorPosition: |