Fix build.

This commit is contained in:
Roman Telezhynskyi 2024-01-10 11:40:46 +02:00
parent 92a0e57bf7
commit e571a0f1a6

View File

@ -81,7 +81,7 @@ void PaintHorizontalFoldShadow(QPainter *painter, const QRectF &sheetRect)
painter->drawLine(shadowLine);
painter->drawLine(QLineF(shadowLine.p2(), shadowP));
QPolygonF const shadow{sheetRect.topRight(), shadowLine.p2(), shadowP, sheetRect.topRight()};
QPolygonF const shadow({sheetRect.topRight(), shadowLine.p2(), shadowP, sheetRect.topRight()});
painter->setBrush(QBrush(VSceneStylesheet::ManualLayoutStyle().SheetFoldShadowColor()));
painter->drawPolygon(shadow);