Compile fix for QT_DEBUG_ANDROID_IM_PROTOCOL
Change-Id: I45d1c1541f8c758995c988f52c5fa8bd4fa99177 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>bb10
parent
cef33870e4
commit
0bd936e7f3
|
|
@ -917,7 +917,7 @@ jboolean QAndroidInputContext::setComposingRegion(jint start, jint end)
|
|||
m_blockUpdateSelection = updateSelectionWasBlocked;
|
||||
|
||||
#ifdef QT_DEBUG_ANDROID_IM_PROTOCOL
|
||||
QSharedPointer<QInputMethodQueryEvent> query2 = focusObjectInputMethodQuery();
|
||||
QSharedPointer<QInputMethodQueryEvent> query2 = focusObjectInputMethodQueryThreadSafe();
|
||||
if (!query2.isNull()) {
|
||||
qDebug() << "Setting. Prev local cpos:" << localPos << "block pos:" <<blockPosition << "comp.start:" << m_composingTextStart << "rel.start:" << relativeStart << "len:" << length << "cpos attr:" << localPos - localStart;
|
||||
qDebug() << "New cursor pos" << getAbsoluteCursorPosition(query2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue