On Thursday 03 February 2005 20:15, bdw wrote: > > > > def mousePressEvent(self, e): > > self.pressPos = p = e.pos() > > Hello Peter > > I think a copy of the QPoint needs to be cached here, otherwise the > mousemove handler will always be adding the same QPoint to itself. > > Replacing the line above with the following seems to work okay for > me. > > self.pressPos = p = QPoint(e.pos())
Ahh, thanks for the enlightment. > Hope this helps, > bdw _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
