From c4e3a3aa922feffc7a647792b03546f4c7ee5700 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 17 Sep 2021 13:35:47 +0200 Subject: [PATCH] QskGradientStops added --- examples/boxes/Box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/boxes/Box.cpp b/examples/boxes/Box.cpp index f3cbd8fd..0802642d 100644 --- a/examples/boxes/Box.cpp +++ b/examples/boxes/Box.cpp @@ -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 );