diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-06-09 20:44:59 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-06-09 20:47:55 (GMT) |
commit | 141dccc381894b3a6f57b2a3a222f5c25eee9a5f (patch) | |
tree | 1c32dcde9cbfa5a17c1d5be81f56453f535a0f7f /src/gui | |
parent | 31f52b2354f5bb5044592ad93cb4e9f7a9d43ae6 (diff) | |
download | Qt-141dccc381894b3a6f57b2a3a222f5c25eee9a5f.zip Qt-141dccc381894b3a6f57b2a3a222f5c25eee9a5f.tar.gz Qt-141dccc381894b3a6f57b2a3a222f5c25eee9a5f.tar.bz2 |
Initialize xform_scale in constructor
Though this variable always will be initialized in
QX11PaintEngine::begin() valgrind complains about conditional jump or
move depends on uninitialised value(s).
Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/painting/qpaintengine_x11_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_x11_p.h b/src/gui/painting/qpaintengine_x11_p.h index f277eeb..f3dd283 100644 --- a/src/gui/painting/qpaintengine_x11_p.h +++ b/src/gui/painting/qpaintengine_x11_p.h @@ -153,6 +153,7 @@ public: txop = QTransform::TxNone; has_clipping = false; render_hints = 0; + xform_scale = 1; #ifndef QT_NO_XRENDER tessellator = 0; #endif |