* inputMethodQuery: adjust comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30798 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-07-27 09:48:40 +00:00
parent b37146fbd9
commit 42c622a3e7

View File

@ -1160,7 +1160,8 @@ QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const
{ {
QRect cur_r(0, 0, 0, 0); QRect cur_r(0, 0, 0, 0);
switch (query) { switch (query) {
// this is the CJK-specific composition window position. // this is the CJK-specific composition window position and
// the context menu position when the menu key is pressed.
case Qt::ImMicroFocus: case Qt::ImMicroFocus:
cur_r = cursor_->rect(); cur_r = cursor_->rect();
if (preedit_lines_ != 1) if (preedit_lines_ != 1)