[PyKDE] Segfault in QGraphicsScene.drawItems

Phil Thompson phil at riverbankcomputing.co.uk
Sun Feb 25 13:41:24 GMT 2007


On Sunday 25 February 2007 1:22 pm, Arve Knudsen wrote:
> Now it's compiled, but I see that drawItems still receives the numItems
> argument. Isn't this redundant considering that this is only the length of
> the items list? Or is there a point in keeping it around to resemble the
> C++ interface?

There is no technical need to keep it - I was going for "least surprise". 
However, as you are obviously surprised then I failed :)

I'll remove it in the next snapshot unless you disagree.

Phil




More information about the PyQt mailing list