diff options
Diffstat (limited to 'x11/qt4-libs/patches/patch-ba')
-rw-r--r-- | x11/qt4-libs/patches/patch-ba | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/qt4-libs/patches/patch-ba b/x11/qt4-libs/patches/patch-ba new file mode 100644 index 00000000000..0b4132254d3 --- /dev/null +++ b/x11/qt4-libs/patches/patch-ba @@ -0,0 +1,15 @@ +$NetBSD: patch-ba,v 1.4 2010/04/16 11:45:27 wiz Exp $ + +http://bugreports.qt.nokia.com/browse/QTBUG-6932 + +--- src/gui/graphicsview/qgraphicsitem_p.h.orig 2010-02-11 15:55:22.000000000 +0000 ++++ src/gui/graphicsview/qgraphicsitem_p.h +@@ -678,7 +678,7 @@ inline bool qt_closestItemFirst(const QG + // item1Ancestor is now at the same level as item2Ancestor, but not the same. + const QGraphicsItem *p1 = t1; + const QGraphicsItem *p2 = t2; +- while (t1 && t1 != t2) { ++ while (t1 && t2 && t1 != t2) { + p1 = t1; + p2 = t2; + t1 = t1->d_ptr->parent; |