diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-16 10:10:03 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-16 10:20:59 (GMT) |
commit | 7619c210217c85ef6e8d3571cce5d1272b1cb437 (patch) | |
tree | cbaa3a135f012ecd31494fd9c136167bed1347e2 /src/gui/painting/qoutlinemapper_p.h | |
parent | 64e60dab167afc68cfb94a8eb0b7469eea9a4291 (diff) | |
download | Qt-7619c210217c85ef6e8d3571cce5d1272b1cb437.zip Qt-7619c210217c85ef6e8d3571cce5d1272b1cb437.tar.gz Qt-7619c210217c85ef6e8d3571cce5d1272b1cb437.tar.bz2 |
Fixed infinite recursion when drawing very large painter paths.
Task-number: QTBUG-11291
Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/painting/qoutlinemapper_p.h')
-rw-r--r-- | src/gui/painting/qoutlinemapper_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/painting/qoutlinemapper_p.h b/src/gui/painting/qoutlinemapper_p.h index 39b7593..f64d03b 100644 --- a/src/gui/painting/qoutlinemapper_p.h +++ b/src/gui/painting/qoutlinemapper_p.h @@ -95,7 +95,8 @@ public: m_tags(0), m_contours(0), m_polygon_dev(0), - m_round_coords(false) + m_round_coords(false), + m_in_clip_elements(false) { } @@ -235,6 +236,7 @@ public: qreal m_dy; bool m_valid; + bool m_in_clip_elements; private: bool m_round_coords; |