summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengineex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qpaintengineex.cpp')
-rw-r--r--src/gui/painting/qpaintengineex.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/painting/qpaintengineex.cpp b/src/gui/painting/qpaintengineex.cpp
index 67a3fa9..222e29f 100644
--- a/src/gui/painting/qpaintengineex.cpp
+++ b/src/gui/painting/qpaintengineex.cpp
@@ -149,15 +149,11 @@ void QPaintEngineExPrivate::replayClipOperations()
QTransform transform = q->state()->matrix;
- const QTransform &redirection = q->state()->redirectionMatrix;
-
for (int i = 0; i < clipInfo.size(); ++i) {
const QPainterClipInfo &info = clipInfo.at(i);
- QTransform combined = info.matrix * redirection;
-
- if (combined != q->state()->matrix) {
- q->state()->matrix = combined;
+ if (info.matrix != q->state()->matrix) {
+ q->state()->matrix = info.matrix;
q->transformChanged();
}