diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2019-04-04 11:24:06 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2019-04-04 10:06:29 +0000 |
commit | 03c2f16d54bcab3eab5e0c244fa18dde708c64b7 (patch) | |
tree | e95abf3a171eea07a4f77a8f72637cd7c99d4b8b /tests/auto/qml/qv4identifiertable/tst_qv4identifiertable.cpp | |
parent | a6a8832078caec920e02d68c2ce84b5587f6f0c0 (diff) |
QQuickRectanglePrivate: set gradient QJSValue to undefined
When 1771d298 changed gradient from a QQuickGradient* to a QJSValue,
it forgot to also change how it was initialised, with 0 causing
QJSValue to consider itself a number, and hence trigger the warning
added to QGradient in 3b7db8ac90b.
Change-Id: I83377c40984f596f56645aea467b74de1a152b62
Fixes: QTBUG-74911
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/qml/qv4identifiertable/tst_qv4identifiertable.cpp')
0 files changed, 0 insertions, 0 deletions