/[gentoo-x86]/dev-python/PyQt4/files/PyQt4-4.5.4-qgraphicslinearlayout-fix.patch
Gentoo

Contents of /dev-python/PyQt4/files/PyQt4-4.5.4-qgraphicslinearlayout-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Wed Aug 12 08:58:25 2009 UTC (10 years, 9 months ago) by hwoarang
Branch: MAIN
File MIME type: text/x-diff
Added patch for removing items from QGraphicsLinearLayout. Fixes bug 280634
(Portage version: 2.2_rc38/cvs/Linux x86_64)

1 diff -Nurp PyQt-x11-gpl-4.5.orig/sip/QtGui/qgraphicslinearlayout.sip PyQt-x11-gpl-4.5/sip/QtGui/qgraphicslinearlayout.sip
2 --- PyQt-x11-gpl-4.5.orig/sip/QtGui/qgraphicslinearlayout.sip 2009-06-05 10:50:38.000000000 +0200
3 +++ PyQt-x11-gpl-4.5/sip/QtGui/qgraphicslinearlayout.sip 2009-06-25 15:22:56.297020424 +0200
4 @@ -74,7 +74,7 @@ public:
5 {
6 PyObject *itmo = sipGetPyObject(itm, sipType_QGraphicsLayoutItem);
7
8 - if (itmo)
9 + if (itmo && ! itm->parentLayoutItem())
10 sipTransferBack(itmo);
11 }
12 %End

  ViewVC Help
Powered by ViewVC 1.1.20