qpainterpath: Fix Q_ASSERT typo
Task-number: QTBUG-71156 Change-Id: Id1669f72a684171ad8c72badad56e72ee20ee625 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
69d977b993
commit
7d03b9b300
@ -2476,7 +2476,7 @@ QDataStream &operator>>(QDataStream &s, QPainterPath &p)
|
|||||||
s >> p.d_func()->cStart;
|
s >> p.d_func()->cStart;
|
||||||
int fillRule;
|
int fillRule;
|
||||||
s >> fillRule;
|
s >> fillRule;
|
||||||
Q_ASSERT(fillRule == Qt::OddEvenFill || Qt::WindingFill);
|
Q_ASSERT(fillRule == Qt::OddEvenFill || fillRule == Qt::WindingFill);
|
||||||
p.d_func()->fillRule = Qt::FillRule(fillRule);
|
p.d_func()->fillRule = Qt::FillRule(fillRule);
|
||||||
p.d_func()->dirtyBounds = true;
|
p.d_func()->dirtyBounds = true;
|
||||||
p.d_func()->dirtyControlBounds = true;
|
p.d_func()->dirtyControlBounds = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user