mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Remove deprecated enum value with Qt5
This commit is contained in:
parent
bd9dce3749
commit
4b15d64f51
@ -1345,7 +1345,11 @@ QVariant GuiWorkArea::inputMethodQuery(Qt::InputMethodQuery query) const
|
||||
switch (query) {
|
||||
// this is the CJK-specific composition window position and
|
||||
// the context menu position when the menu key is pressed.
|
||||
#if (QT_VERSION < 0x050000)
|
||||
case Qt::ImMicroFocus: {
|
||||
#else
|
||||
case Qt::ImCursorRectangle: {
|
||||
#endif
|
||||
CaretGeometry const & cg = bufferView().caretGeometry();
|
||||
return QRect(cg.left - 10 * (d->preedit_lines_ != 1),
|
||||
cg.top + cg.height() * d->preedit_lines_,
|
||||
|
Loading…
Reference in New Issue
Block a user