summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaloyan Chehlarski <[email protected]>2025-05-21 15:24:58 +0200
committerKaloyan Chehlarski <[email protected]>2025-05-22 04:47:56 +0000
commit0e1b14e58278a2f3a54cbc77707b96738a4c8b01 (patch)
treedbc6d3966de1e8c4e763b21ef5e85c41f1dd3fc3
parentbf18029ff6478b27d65fd658c21e0dd7428a6077 (diff)
Ignore QInputMethodEvent::MimeDataHEADdev
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]>
-rw-r--r--src/pdfquick/qquickpdfselection.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pdfquick/qquickpdfselection.cpp b/src/pdfquick/qquickpdfselection.cpp
index b21044b14..bc939a9be 100644
--- a/src/pdfquick/qquickpdfselection.cpp
+++ b/src/pdfquick/qquickpdfselection.cpp
@@ -232,6 +232,9 @@ void QQuickPdfSelection::inputMethodEvent(QInputMethodEvent *event)
case QInputMethodEvent::Language:
case QInputMethodEvent::Ruby:
case QInputMethodEvent::TextFormat:
+#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 0)
+ case QInputMethodEvent::MimeData:
+#endif
break;
}
}