don't hard-code column header size

This commit is contained in:
Damien Elmes 2012-05-27 14:18:55 +09:00
parent e77c10ef3c
commit 588f394b78

View file

@ -88,10 +88,6 @@ class DataModel(QAbstractTableModel):
txt = name txt = name
break break
return txt return txt
elif role == Qt.FontRole:
f = QFont()
f.setPixelSize(10)
return f
else: else:
return return