diff options
| author | Knud Dollereder <knud.dollereder@qt.io> | 2022-08-02 13:25:08 +0200 |
|---|---|---|
| committer | Knud Dollereder <knud.dollereder@qt.io> | 2022-08-04 12:47:26 +0000 |
| commit | 371d9ffe0fc7c2f68fc4b0c040d9989d44da1df3 (patch) | |
| tree | ef058a2258737cdad25d71bc36805c5c82ad0d01 /src/plugins/cppcheck/cppchecktextmark.cpp | |
| parent | 184a9cbd64f852edc9e0b04e1859e17a597c5367 (diff) | |
| download | qt-creator-371d9ffe0fc7c2f68fc4b0c040d9989d44da1df3.tar.gz | |
Fix a wrong property conversion
QVariant::canConvert returns just the general ability to
convert from one type to the other and does not reflect
if the specific string inside the variant can be converted.
For this reason tmp.canConvert(QMetaType::Double) returned
always true which lead to colors inside keyframes becoming
black as soon as the scene was saved.
Fixes: QDS-6960
Change-Id: I1a267d93a7cffb080ae884df490e5723592a2780
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Diffstat (limited to 'src/plugins/cppcheck/cppchecktextmark.cpp')
0 files changed, 0 insertions, 0 deletions
