Doc: Fix typo in QtStyledItemDelegate::paint() docs
Task-number: QTBUG-56399 Change-Id: Iaace0ed05098ab6d880b06a40d8e13aa9288c5ec Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>bb10
parent
b884fc00f4
commit
3189313f22
|
|
@ -360,7 +360,7 @@ void QStyledItemDelegate::initStyleOption(QStyleOptionViewItem *option,
|
|||
if it is enabled or selected.
|
||||
|
||||
After painting, you should ensure that the painter is returned to
|
||||
its the state it was supplied in when this function was called.
|
||||
the state it was supplied in when this function was called.
|
||||
For example, it may be useful to call QPainter::save() before
|
||||
painting and QPainter::restore() afterwards.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue