summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-06-02 09:43:46 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-06-02 09:44:03 +0200
commit166c2499d989919a037a599942fb95beb362971e (patch)
tree748e58d2ed42422aae1e32a28f57180f5bb1cbea /src/widgets/widgets
parentf7047d52da47a8426189d0aff8c5104b23cbfd89 (diff)
parent7bc9310a2265e14b6880aa29d96adba6d3d7aed0 (diff)
Merge remote-tracking branch 'origin/5.5.0' into 5.5
Diffstat (limited to 'src/widgets/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()
*/