dangling reference fixed
This commit is contained in:
parent
baaccb2f41
commit
8dd5a7b249
@ -168,7 +168,8 @@ void QskBoxRenderer::setColoredBorderLines( const QRectF& rect,
|
||||
geometry.setDrawingMode( QSGGeometry::DrawTriangleStrip );
|
||||
geometry.markVertexDataDirty();
|
||||
|
||||
const QskBoxBasicStroker stroker( QskBoxMetrics( rect, shape, border ), borderColors );
|
||||
const QskBoxMetrics metrics( rect, shape, border );
|
||||
const QskBoxBasicStroker stroker( metrics, borderColors );
|
||||
|
||||
if ( auto lines = qskAllocateColoredLines( geometry, stroker.borderCount() ) )
|
||||
stroker.setBoxLines( lines, nullptr );
|
||||
|
Loading…
x
Reference in New Issue
Block a user