diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-24 08:00:21 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-24 08:38:59 (GMT) |
commit | 5f9454326cf3768bdc973832de76daa49f5f6830 (patch) | |
tree | 8359515fe11b00792eadac29c94af9417b9c24e3 /src/gui/painting/qpainter.cpp | |
parent | b4f2e138422076ed5d615181fc336dbb90279935 (diff) | |
download | Qt-5f9454326cf3768bdc973832de76daa49f5f6830.zip Qt-5f9454326cf3768bdc973832de76daa49f5f6830.tar.gz Qt-5f9454326cf3768bdc973832de76daa49f5f6830.tar.bz2 |
Once enabled, the emulation engine never got switched back off
The check in QPainter::checkEmulation was just plain wrong.
Reviewed-By: Eskil
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r-- | src/gui/painting/qpainter.cpp | 2 |
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; } } |