Fix warning about float truncation in tst_qdatastream.
Change-Id: I8e6af7e6534272d1385020212ad7348d9d74b38d Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
This commit is contained in:
parent
a6d339fd18
commit
04285d94e8
@ -883,7 +883,7 @@ static QBrush qBrushData(int index)
|
||||
return custom;
|
||||
}
|
||||
case 7:
|
||||
QLinearGradient gradient(QPoint(2.718, 3.142), QPoint(3.1337, 42));
|
||||
QLinearGradient gradient(QPointF(2.718, 3.142), QPointF(3.1337, 42));
|
||||
gradient.setCoordinateMode(QGradient::ObjectBoundingMode);
|
||||
gradient.setSpread(QGradient::ReflectSpread);
|
||||
gradient.setInterpolationMode(QGradient::ComponentInterpolation);
|
||||
|
Loading…
Reference in New Issue
Block a user