diff options
Diffstat (limited to 'examples/sql/books/bookdelegate.py')
| -rw-r--r-- | examples/sql/books/bookdelegate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/books/bookdelegate.py b/examples/sql/books/bookdelegate.py index 7015d5158..d9f4ef7e0 100644 --- a/examples/sql/books/bookdelegate.py +++ b/examples/sql/books/bookdelegate.py @@ -43,7 +43,7 @@ class BookDelegate(QSqlRelationalDelegate): if option.state & QStyle.State_Selected: painter.fillRect(option.rect, - option.palette.color(color_group, QPalette.Highlight)) + option.palette.color(color_group, QPalette.Highlight)) rating = model.data(index, Qt.DisplayRole) width = self.star.width() height = self.star.height() |
