diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-16 10:39:57 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-17 12:57:40 +0200 |
commit | 30a95fa0ee4a456cc41d652bf5f6b3c1fce944fb (patch) | |
tree | 0260620b5e1dcc51066b44c8ebb81cf3650ab224 /examples/qml/tutorials/extending-qml/chapter2-methods/main.cpp | |
parent | b32e17ed4fabde0d59a564ef2ed7bfb9a70de6ea (diff) | |
download | qtdeclarative-30a95fa0ee4a456cc41d652bf5f6b3c1fce944fb.tar.gz |
QtQml: Use QMetaType in QQmlValueTypeWrapper
Retrieving the QQmlValueType is expensive and there is not a single
place where we need anything but its QMetaObject. Retrieving only the
meta object, on the other hand, is cheap.
Change-Id: I3ad5574d64f1f67a4d4cf2886dc5c396e99ec91a
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/qml/tutorials/extending-qml/chapter2-methods/main.cpp')
0 files changed, 0 insertions, 0 deletions