QskGradientStops added

This commit is contained in:
Uwe Rathmann 2021-09-17 13:35:47 +02:00
parent b7c1f63b15
commit 2b26399fa6
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ void Box::setGradient( QskGradient::Orientation orientation,
void Box::setGradient( QskGradient::Orientation orientation,
const QColor& color1, const QColor& color2, const QColor& color3 )
{
QVector< QskGradientStop > stops;
QskGradientStops stops;
stops += QskGradientStop( 0.0, color1 );
stops += QskGradientStop( 0.5, color2 );
stops += QskGradientStop( 1.0, color3 );