summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2012-10-12 10:08:41 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-16 17:31:31 +0200
commit9f83e499b5fb4b8a5400405300912c4b8bf6cb30 (patch)
tree6b32b355f564a92b1237d50c2533dfa7b3de8828 /src
parent098644864713d6956d33d45cc610e2c6afb5211f (diff)
Clarify ownership of scene in QGraphicsView::setScene() docs.
Change-Id: I550a02bce0633884ee1ffe2321c6462a34194f89 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/graphicsview/qgraphicsview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qgraphicsview.cpp b/src/widgets/graphicsview/qgraphicsview.cpp
index 380d58c4be..5c338367f9 100644
--- a/src/widgets/graphicsview/qgraphicsview.cpp
+++ b/src/widgets/graphicsview/qgraphicsview.cpp
@@ -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)
{