avoid QGradient warnings
This commit is contained in:
parent
587183993b
commit
5cda13568d
@ -413,7 +413,7 @@ QGradientStops qskToQGradientStops( const QskGradientStops& stops )
|
|||||||
QGradient removes stops at the same position. So we have to insert
|
QGradient removes stops at the same position. So we have to insert
|
||||||
an invisible dummy offset
|
an invisible dummy offset
|
||||||
*/
|
*/
|
||||||
qStop.first += 0.00001;
|
qStop.first = qMin( qStop.first + 0.00001, 1.0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
qStops += qStop;
|
qStops += qStop;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user