Skip to content

Commit 0e1b14e

Browse files
author
Kaloyan Chehlarski
committed
Ignore QInputMethodEvent::MimeData
Introduced with 2a9444920bcd2f5d1832971bd6275ebdc5515546 We need the version checks to support building on top of older Qt versions. Change-Id: Ifddf8a194a23233eeab61111380dc62ce407f6e7 Reviewed-by: Tor Arne Vestbø <[email protected]>
1 parent bf18029 commit 0e1b14e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/pdfquick/qquickpdfselection.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ void QQuickPdfSelection::inputMethodEvent(QInputMethodEvent *event)
232232
case QInputMethodEvent::Language:
233233
case QInputMethodEvent::Ruby:
234234
case QInputMethodEvent::TextFormat:
235+
#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
236+
case QInputMethodEvent::MimeData:
237+
#endif
235238
break;
236239
}
237240
}

0 commit comments

Comments
 (0)