diff options
author | Ivan Tkachenko <me@ratijas.tk> | 2024-06-05 16:07:34 +0600 |
---|---|---|
committer | Ivan Tkachenko <me@ratijas.tk> | 2024-06-20 21:25:59 +0600 |
commit | 87aa6ec7d42d2cc5d774232d1bf00a609f6bfcbf (patch) | |
tree | 0537d509a0fa5a9493f1d059e72e05358f9ba983 /src/labs/sharedimage/qsharedimageprovider.cpp | |
parent | eb83368862b3ad9c10fe3c4b2f7d60fcf513b262 (diff) |
QML Engine now warns if a function has type annotations on arguments but
returns a value without type annotating it as well.
Fixes the following runtime warning:
QCRITICAL: tst_controls::Basic::StackView::test_pop()
file:///.../qtdeclarative/tests/auto/quickcontrols/controls/data/tst_stackview.qml:576:
TestCase_QMLTYPE_714_QML_715\(0x629f86cf1da0, "StackView"\) should be
coerced to void because the function called is insufficiently
annotated. The original value is retained. This will change in a future
version of Qt.
Amends bd916dee64cf2bc710227fc2eb4231c68eaab626
Change-Id: I7fc423ef92110c49411bd8cf0c6741c1f075f52e
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/labs/sharedimage/qsharedimageprovider.cpp')
0 files changed, 0 insertions, 0 deletions