[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] Re: PyQt3: QGLWidget should transfer QGLContext ownership?
From: Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date: 2006-03-23 21:34:55
Message-ID: 200603232134.55411.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]
On Thursday 23 March 2006 1:59 pm, Giovanni Bajo wrote:
> Hello Phil,
>
> any reason why this QGLWidget's constructor:
>
> QGLWidget(QGLContext *,QWidget * /TransferThis/ = 0,const char * = 0,
> const QGLWidget * = 0,WFlags = 0);
>
> doesn't also transfer the ownership of the QGLContext?
> QGLWidget::~QGLWidget always deletes the context. I also verified that a
> manual sip.trasnferto does the right thing and avoid double deletion
> crashes.
Thanks - will be in tonight's snapshots.
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic