On 20/09/11 18:56, Hugo Léveillé wrote:
I am writting a quick application inside another software that use PyQT

In previous version, I could sort all my listwidget without any problem
using the .sortItems()
But in the latest release of that version, I get the following error on
some of my listwidget I try to sort

TypeError: expected 1 arguments, got 0

I tied using Qt.AscendingOrder but it does not help

Its using Qt 4.6.2

this looks like the same bug as this:

http://www.riverbankcomputing.com/pipermail/pyqt/2011-June/030020.html

i think the bug is only present in sip-4.12.3. so if you can upgrade (or downgrade) sip, the problem should go away.
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to