Cppcheck warning.
This commit is contained in:
parent
f3c0af7294
commit
962b5dd561
|
@ -1182,7 +1182,7 @@ QPainterPath VLayoutPiece::MappedLayoutAllowancePath() const
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VLayoutPiece::DrawMiniature(QPainter &painter)
|
void VLayoutPiece::DrawMiniature(QPainter &painter) const
|
||||||
{
|
{
|
||||||
painter.drawPath(ContourPath());
|
painter.drawPath(ContourPath());
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ public:
|
||||||
QPainterPath ContourPath() const;
|
QPainterPath ContourPath() const;
|
||||||
QPainterPath MappedLayoutAllowancePath() const;
|
QPainterPath MappedLayoutAllowancePath() const;
|
||||||
|
|
||||||
void DrawMiniature(QPainter &painter);
|
void DrawMiniature(QPainter &painter) const;
|
||||||
|
|
||||||
Q_REQUIRED_RESULT QGraphicsItem *GetItem(bool textAsPaths) const;
|
Q_REQUIRED_RESULT QGraphicsItem *GetItem(bool textAsPaths) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user