diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2024-10-24 14:19:52 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-10-31 11:49:55 +0100 |
| commit | 373cf5eaeb3da7f8cb4e9fb83dc18aafef0c9373 (patch) | |
| tree | 2c26050d8ae23ede82d30ee51f2690b45c962908 /src/qml/jsruntime/qv4engine.cpp | |
| parent | 6b75bc12b7f3b98a91dcf1c16506927855669215 (diff) | |
QtQml: Only pass matching arguments to value type constructors
Only if the type is really the same we can pass it directly. Types like
QVariant or QJSValue are exact matches in the sense that you can wrap
everything else into them, but that's not what we mean here.
Pick-to: 6.8
Task-number: QTBUG-130522
Change-Id: I5c71ab3a722ab0cff7373106f5b3530f73292ba3
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
0 files changed, 0 insertions, 0 deletions
