Removing Qt 6 specific stuff.

This commit is contained in:
Roman Telezhynskyi 2024-01-10 11:19:59 +02:00
parent 29de9aca0b
commit 92a0e57bf7
2 changed files with 2 additions and 3 deletions

View File

@ -49,14 +49,13 @@
#include "../vlayout/vgraphicsfillitem.h"
#include "../vlayout/vlayoutpiecepath.h"
#include "../vlayout/vtextmanager.h"
#include "../vmisc/compatibility.h"
#include "../vmisc/svgfont/vsvgfont.h"
#include "../vmisc/svgfont/vsvgfontdatabase.h"
#include "../vmisc/svgfont/vsvgfontengine.h"
#include "../vmisc/theme/vscenestylesheet.h"
#include "../vpapplication.h"
#include "../vpatterndb/vpiecepath.h"
#include "compatibility.h"
#include "qtpreprocessorsupport.h"
#include "undocommands/vpundomovepieceonsheet.h"
#include "undocommands/vpundopiecemove.h"
#include "vpiecegrainline.h"

View File

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