aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compat
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2023-01-31 09:34:26 +0100
committerUlf Hermann <[email protected]>2023-01-31 11:52:53 +0100
commitbb6bc1a06d0348b6b92c39f40e5f8cb1e2fcf67f (patch)
tree28046b62e8ec4aadd4b93313935ceaf2b12de0c4 /src/qml/compat
parent506c74d7827a2199ddf4f9b9e18090ba30e52f1c (diff)
QJSEngine: Move old convertV2 to removed_api.cpp
Pick-to: 6.5 Change-Id: I7f700d64694c8651769841a0109d32e8f9a839b2 Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src/qml/compat')
-rw-r--r--src/qml/compat/removed_api.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/compat/removed_api.cpp b/src/qml/compat/removed_api.cpp
index acdd0bab13..00c899d73c 100644
--- a/src/qml/compat/removed_api.cpp
+++ b/src/qml/compat/removed_api.cpp
@@ -17,5 +17,10 @@ QJSValue QJSEngine::create(int typeId, const void *ptr)
return create(type, ptr);
}
+bool QJSEngine::convertV2(const QJSValue &value, int type, void *ptr)
+{
+ return convertV2(value, QMetaType(type), ptr);
+}
+
#endif