--- a/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py Sun Feb 19 15:28:21 2012 +0100 +++ b/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.py Sun Feb 19 15:26:55 2012 +0100 @@ -68,7 +68,10 @@ @param line linenumber of faulty source (integer or string) @param sourcecode faulty line of code (string) """ - itm = QTreeWidgetItem(self.resultList, [file, str(line), sourcecode]) + itm = QTreeWidgetItem(self.resultList) + itm.setData(0, Qt.DisplayRole, file) + itm.setData(1, Qt.DisplayRole, line) + itm.setData(2, Qt.DisplayRole, sourcecode) itm.setTextAlignment(1, Qt.AlignRight) def prepare(self, fileList, project):