summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-07-24 08:52:53 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-07-24 08:52:53 (GMT)
commitea2480fc41a844e0c331445d986cbbdbceb7cafc (patch)
treea33ec966873a2c52ab0b58cc7da1254f130c8ff4 /src/gui/painting
parentd32922a417f20fed56f6f4837d8bfdf2899e3d3c (diff)
parentd7a054e9a887c3e73536a0ea1667492dca46adb0 (diff)
downloadQt-ea2480fc41a844e0c331445d986cbbdbceb7cafc.zip
Qt-ea2480fc41a844e0c331445d986cbbdbceb7cafc.tar.gz
Qt-ea2480fc41a844e0c331445d986cbbdbceb7cafc.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index 34305c2..0460071 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -184,7 +184,7 @@ void QPainterPrivate::checkEmulation()
extended = emulationEngine;
extended->setState(state);
}
- } else if (emulationEngine && emulationEngine != extended) {
+ } else if (emulationEngine == extended) {
extended = emulationEngine->real_engine;
}
}