work around QTreeWidgetItem bug in PyQt4.9.6