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
Leena Miettinen 2016-10-11 09:59:03 +02:00
parent b884fc00f4
commit 3189313f22
1 changed files with 1 additions and 1 deletions

View File

@ -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.