diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-04-19 05:25:15 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-04-19 08:29:16 (GMT) |
commit | edc6e0218b5fad73476f1f18529b5ec48a3e100f (patch) | |
tree | 07330fac3e98c5d87c2b562f2094d6b6c5af75a5 /src | |
parent | b1d187399b79b980bc49cb9f78320466da54f977 (diff) | |
download | Qt-edc6e0218b5fad73476f1f18529b5ec48a3e100f.zip Qt-edc6e0218b5fad73476f1f18529b5ec48a3e100f.tar.gz Qt-edc6e0218b5fad73476f1f18529b5ec48a3e100f.tar.bz2 |
Swapped x and y values in qt_painterpath_check_crossing
Reviewed-by: Kim
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qpainterpath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainterpath.cpp b/src/gui/painting/qpainterpath.cpp index f78de34..965b84c 100644 --- a/src/gui/painting/qpainterpath.cpp +++ b/src/gui/painting/qpainterpath.cpp @@ -1914,7 +1914,7 @@ static bool qt_painterpath_check_crossing(const QPainterPath *path, const QRectF case QPainterPath::MoveToElement: if (i > 0 - && qFuzzyCompare(last_pt.x(), last_start.y()) + && qFuzzyCompare(last_pt.x(), last_start.x()) && qFuzzyCompare(last_pt.y(), last_start.y()) && qt_painterpath_isect_line_rect(last_pt.x(), last_pt.y(), last_start.x(), last_start.y(), rect)) |