diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-06-28 14:16:06 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-06-29 09:14:00 +0200 |
| commit | 6a074d57ce28a9514a116f71f77e3c4f18ed61e9 (patch) | |
| tree | cfa5e460b912884781b7db54a2289e3865f886df /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | 52fcaec65d0a13831b0b8c75957c58235d6fdcc4 (diff) | |
Replace qobject_cast with static_cast
Since we don't check the return value of the qobject_cast anyway, and
since we use static_cast everywhere else, don't waste time with the
qobject_cast in replace_states and removeLast_states either.
Pick-to: 6.6
Change-Id: I6025188e3f7f97f549ff7acc217c6fe905e31b91
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
