Removing Qt 6 specific stuff.
This commit is contained in:
parent
29de9aca0b
commit
92a0e57bf7
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user