aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2019-09-12 17:44:04 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2019-09-13 11:18:57 +0200
commit122d0367fd96526b3573a3188286153c846680ca (patch)
tree2feb36d8a6cc72ec2e77dd1ac88f78d4c2e69c96 /tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp
parent3df387d63421f09533ab72e2a73fb5d259693120 (diff)
Use the correct type's meta-type ID for int and save a misplaced cast
I got compiler warnings because of a comparison of a QVariant::type() with an int(). These were caused by a "fix" that cast to int a QMetaType::Int, where the correct fix was surely to use QVariant::Int. This amends commit 83f8d886cee0a40ac1ad5e43e597f309f602ad76. Change-Id: I3f1718e4f2c0c5a6a1cbb79266768fba4e3290e3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlpropertycache/tst_qqmlpropertycache.cpp')
0 files changed, 0 insertions, 0 deletions