summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnu Aliyas <anu.aliyas@qt.io>2023-09-18 18:05:37 +0200
committerAnu Aliyas <anu.aliyas@qt.io>2023-10-16 19:53:38 +0200
commit205ce7daac2ba690629a47b0a37822a937a5d7c2 (patch)
treea232e2184c9f3205d0bd5ebd09b95ebc9927d5b5
parent4800edadf386ef317edc121ec7d2d93ac8e7cb05 (diff)
Correct WebEngineWebAuthUXRequest qml type information
- Registered QWebEngineWebAuthUXRequest as a non-instantiable type. Task-number: QTBUG-90941 Task-number: QTBUG-90938 Change-Id: I702cb3b37399f24362ec6ff1eb7c19b1d5dd9437 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r--src/webenginequick/api/qquickwebengineforeigntypes_p.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/webenginequick/api/qquickwebengineforeigntypes_p.h b/src/webenginequick/api/qquickwebengineforeigntypes_p.h
index fb1b9c707..153262928 100644
--- a/src/webenginequick/api/qquickwebengineforeigntypes_p.h
+++ b/src/webenginequick/api/qquickwebengineforeigntypes_p.h
@@ -222,11 +222,13 @@ namespace ForeginWebEngineFileSystemAccessRequestNamespace
QML_ADDED_IN_VERSION(6, 4)
};
-namespace ForeignWebEngineWebAuthUXRequest {
- Q_NAMESPACE
- QML_FOREIGN_NAMESPACE(QWebEngineWebAuthUXRequest)
+struct ForeignWebEngineWebAuthUXRequest
+{
+ Q_GADGET
+ QML_FOREIGN(QWebEngineWebAuthUXRequest)
QML_NAMED_ELEMENT(WebEngineWebAuthUXRequest)
QML_ADDED_IN_VERSION(6, 7)
+ QML_UNCREATABLE("")
};
QT_END_NAMESPACE