summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-06-02 23:06:44 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-06-02 23:39:22 +0000
commit754efa57d89c62d1796e01b407e9222e67450f52 (patch)
treeebbe795a4067da7b1e75f5597de2373aaf4ba308 /src/widgets
parentf44a59f390be9b67365db8796aa6a54fe9241028 (diff)
parent166c2499d989919a037a599942fb95beb362971e (diff)
Merge "Merge remote-tracking branch 'origin/5.5.0' into 5.5" into refs/staging/5.5
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/widgets/qstackedwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/widgets/qstackedwidget.cpp b/src/widgets/widgets/qstackedwidget.cpp
index 2cec8a0b9c..19a2edf0f2 100644
--- a/src/widgets/widgets/qstackedwidget.cpp
+++ b/src/widgets/widgets/qstackedwidget.cpp
@@ -182,7 +182,9 @@ int QStackedWidget::insertWidget(int index, QWidget *widget)
not deleted but simply removed from the stacked layout, causing it
to be hidden.
- \b{Note:} Ownership of \a widget reverts to the application.
+ \note Parent object and parent widget of \a widget will remain the
+ QStackedWidget. If the application wants to reuse the removed
+ \a widget, then it is recommended to re-parent it.
\sa addWidget(), insertWidget(), currentWidget()
*/