Skip to content

Commit

Permalink
Doc: Clean up SQL example: Books (part 2)
Browse files Browse the repository at this point in the history
Improve readability, enforce consistent code formatting.

Task-number: QTBUG-68652
Change-Id: I7bbe0b2baa6273e0133df84d7c3cc2aa6a0b6ff2
Reviewed-by: Venugopal Shivashankar <[email protected]>
  • Loading branch information
paulwicking committed Jun 6, 2018
1 parent ce7cbcc commit fcbfa53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/sql/books/bookdelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class BookDelegate : public QSqlRelationalDelegate
void paint(QPainter *painter, const QStyleOptionViewItem &option,
const QModelIndex &index) const override;

QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override;
QSize sizeHint(const QStyleOptionViewItem &option,
const QModelIndex &index) const override;

bool editorEvent(QEvent *event, QAbstractItemModel *model,
const QStyleOptionViewItem &option,
Expand Down

0 comments on commit fcbfa53

Please sign in to comment.