QPainter: Fix (!a == b) bug
The ! binds to a only, which is most likely wrong here. Change-Id: I4aa09407a8acc68f97bef474781193774e4a7597 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com> Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>bb10
parent
a1133b215a
commit
0f8d8f4127
|
|
@ -780,8 +780,8 @@ void QPainterPrivate::updateEmulationSpecifier(QPainterState *s)
|
|||
complexXform = !s->matrix.isAffine();
|
||||
}
|
||||
|
||||
const bool brushXform = (!s->brush.transform().type() == QTransform::TxNone);
|
||||
const bool penXform = (!s->pen.brush().transform().type() == QTransform::TxNone);
|
||||
const bool brushXform = (s->brush.transform().type() != QTransform::TxNone);
|
||||
const bool penXform = (s->pen.brush().transform().type() != QTransform::TxNone);
|
||||
|
||||
const bool patternXform = patternBrush && (xform || brushXform || penXform);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue