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

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to