Cppcheck warning.

This commit is contained in:
Roman Telezhynskyi 2021-05-27 20:58:18 +03:00
parent f3c0af7294
commit 962b5dd561
2 changed files with 2 additions and 2 deletions

View File

@ -1182,7 +1182,7 @@ QPainterPath VLayoutPiece::MappedLayoutAllowancePath() const
}
//---------------------------------------------------------------------------------------------------------------------
void VLayoutPiece::DrawMiniature(QPainter &painter)
void VLayoutPiece::DrawMiniature(QPainter &painter) const
{
painter.drawPath(ContourPath());

View File

@ -154,7 +154,7 @@ public:
QPainterPath ContourPath() const;
QPainterPath MappedLayoutAllowancePath() const;
void DrawMiniature(QPainter &painter);
void DrawMiniature(QPainter &painter) const;
Q_REQUIRED_RESULT QGraphicsItem *GetItem(bool textAsPaths) const;