Skip to content

Commit b2f11e0

Browse files
committed
fix(lazy-images): remove column attribute from SqlQueryModel
1 parent dda8ae5 commit b2f11e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • sqlite3__examples/view_many_images__lazy__delegates__async_load_images

‎sqlite3__examples/view_many_images__lazy__delegates__async_load_images/main.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
class SqlQueryModel(QSqlQueryModel):
3333
def data(self, index: QModelIndex, role: int = Qt.DisplayRole) -> object:
3434
if role == Qt.ToolTipRole:
35-
return index.model().data(index.model().index(index.row(), column=1))
35+
return index.model().data(index.model().index(index.row(), 1))
3636

3737
return super().data(index, role)
3838

0 commit comments

Comments
 (0)