[PyKDE] Modules/gcmodule.c:231: failed assertion `gc->gc.gc_refs != 0'
Phil Thompson
phil at riverbankcomputing.co.uk
Sun Dec 14 21:56:01 GMT 2003
On Thursday 11 December 2003 5:39 pm, michael ferraro wrote:
> I have encountered this failed assertion while overriding
> QListView.contentsMousePressEvent
> QListView.contentsMouseMoveEvent
>
> I was using the "manhattanDistance" between the
> e.pos() at the time of the contentsMousePressEvent()
> and e.pos() at the time of the contentsMouseMoveEvent()
>
> to determine if I should start a Drag. The result of the
> manhattanDistance
> method always returned 0, unless I set the self.xpressPos value to
> a constant or multiplied the e.pos() of the contentsMousePressEvent()
> by 1 before assigning it self.xpressPos.
This will be fixed in tonight's SIP v4 snapshot.
Phil
More information about the PyQt
mailing list