Package: python-sip Version: 4.12.3-1 Severity: normal
hi, after upgrading from python-sip_4.12.1-1+b2 to 4.12.3-1 is the QtGui.QTreeWidget column sorting buged it print only errors and sort not TypeError: expected 1 arguments, got 0 this is a other bug report from Baz Walter http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/22591 and now a example ps: i add self.setSortingEnabled( True ) ps2: downgrade to python-sip_4.12.1-1+b2_amd64.deb remove the bug ------ import sys from PyQt4 import QtCore, QtGui class Window(QtGui.QTreeWidget): def __init__(self): QtGui.QTreeWidget.__init__(self) self.setSortingEnabled( True ) for num in range(5): QtGui.QTreeWidgetItem( self, QtCore.QStringList('Item(%i)' % num)) self.sortByColumn(0, QtCore.Qt.AscendingOrder) if __name__ == "__main__": app = QtGui.QApplication(sys.argv) win = Window() win.show() sys.exit(app.exec_()) -------- thanks René _______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

