Fix unit test for bug 430
This commit is contained in:
parent
363ecb3461
commit
31a4f12f4c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ from PySide.QtGui import *
|
||||||
|
|
||||||
class ListModel(QAbstractListModel):
|
class ListModel(QAbstractListModel):
|
||||||
def rowCount(self, parent = QModelIndex()):
|
def rowCount(self, parent = QModelIndex()):
|
||||||
return len(self._items)
|
return 0
|
||||||
|
|
||||||
app = QApplication([])
|
app = QApplication([])
|
||||||
model = ListModel()
|
model = ListModel()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue