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(shadowLine);
painter->drawLine(QLineF(shadowLine.p2(), shadowP)); 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->setBrush(QBrush(VSceneStylesheet::ManualLayoutStyle().SheetFoldShadowColor()));
painter->drawPolygon(shadow); painter->drawPolygon(shadow);