Doc: corrected wrong equivalent of obsolete QGraphicsItem::rotate
Task-number: QTBUG-39027 Change-Id: Icb5998a4e28edbc6952bc79d970c5ce6dbe57d69 Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
This commit is contained in:
parent
9571e0b6cd
commit
30801d2d5c
@ -4487,7 +4487,7 @@ void QGraphicsItem::resetTransform()
|
||||
Use
|
||||
|
||||
\code
|
||||
setRotation(rotation() + angle);
|
||||
item->setTransform(QTransform().rotate(angle), true);
|
||||
\endcode
|
||||
|
||||
instead.
|
||||
|
Loading…
Reference in New Issue
Block a user