Clarify ownership of scene in QGraphicsView::setScene() docs.

Change-Id: I550a02bce0633884ee1ffe2321c6462a34194f89
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
bb10
Mitch Curtis 2012-10-12 10:08:41 +02:00 committed by The Qt Project
parent 0986448647
commit 9f83e499b5
1 changed files with 2 additions and 0 deletions

View File

@ -1597,6 +1597,8 @@ QGraphicsScene *QGraphicsView::scene() const
When a scene is set on a view, the QGraphicsScene::changed() signal
is automatically connected to this view's updateScene() slot, and the
view's scroll bars are adjusted to fit the size of the scene.
The view does not take ownership of \a scene.
*/
void QGraphicsView::setScene(QGraphicsScene *scene)
{