[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] PyQt3: QGLWidget should transfer QGLContext ownership?
From:       "Giovanni Bajo" <rasky () develer ! com>
Date:       2006-03-23 13:59:53
Message-ID: 01d401c64e82$0ef5c2a0$bf03030a () trilan
[Download RAW message or body]

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.
-- 
Giovanni Bajo

_______________________________________________
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