diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-26 13:29:01 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-06-26 13:30:12 (GMT) |
commit | 068cfc2452d4b558f0276e371c67a821bc3bcfbd (patch) | |
tree | 18674720d8769d2aac5749d068e639c0038eb00a /src/opengl | |
parent | 4def9f12bec58e6c952361aac946fca80c27a3be (diff) | |
download | Qt-068cfc2452d4b558f0276e371c67a821bc3bcfbd.zip Qt-068cfc2452d4b558f0276e371c67a821bc3bcfbd.tar.gz Qt-068cfc2452d4b558f0276e371c67a821bc3bcfbd.tar.bz2 |
Silence trivial warnings
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qpaintengine_opengl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/opengl/qpaintengine_opengl.cpp b/src/opengl/qpaintengine_opengl.cpp index 638bfb3..eda8d83 100644 --- a/src/opengl/qpaintengine_opengl.cpp +++ b/src/opengl/qpaintengine_opengl.cpp @@ -3690,10 +3690,10 @@ void QOpenGLPaintEngine::drawLines(const QLineF *lines, int lineCount) bool useRects = false; // scale or 90 degree rotation? if (d->matrix.type() <= QTransform::TxTranslate - || !d->cpen.isCosmetic() - && (d->matrix.type() <= QTransform::TxScale - || (d->matrix.type() == QTransform::TxRotate - && d->matrix.m11() == 0 && d->matrix.m22() == 0))) { + || (!d->cpen.isCosmetic() + && (d->matrix.type() <= QTransform::TxScale + || (d->matrix.type() == QTransform::TxRotate + && d->matrix.m11() == 0 && d->matrix.m22() == 0)))) { useRects = true; for (int i = 0; i < lineCount; ++i) { if (lines[i].p1().x() != lines[i].p2().x() |