diff options
author | Ulf Hermann <[email protected]> | 2021-04-21 12:13:18 +0200 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2021-04-22 22:15:22 +0200 |
commit | e44a949f9028df1d4750dad2925b074c9c59efcc (patch) | |
tree | 1d0378b904a74a50ce4d1cf7dd8d3d04212c0343 /src/qml/jsruntime/qv4urlobject.cpp | |
parent | 92b99e85bb294d598a8143f33eab5bbce3fbebaa (diff) |
Optimize QQmlBinding::slowWrite()
That's not uncommon at all, and we don't need to convert the value back
and forth for it. If we have a metatype/void* representation already, we
can just create a QVariant from that and forward it to
writeValueProperty(). Even the QVariant is unnecessary, but that will be
resolved in a second step.
Change-Id: Ideae979a73276c9fba1bc19c10d799b8fe59dde5
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4urlobject.cpp')
0 files changed, 0 insertions, 0 deletions