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:
Nico Vertriest 2014-10-28 16:42:24 +01:00 committed by Mitch Curtis
parent 9571e0b6cd
commit 30801d2d5c

View File

@ -4487,7 +4487,7 @@ void QGraphicsItem::resetTransform()
Use
\code
setRotation(rotation() + angle);
item->setTransform(QTransform().rotate(angle), true);
\endcode
instead.