summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorJani Heikkinen <jani.heikkinen@theqtcompany.com>2015-06-02 04:20:54 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-06-02 04:20:54 +0000
commit7bc9310a2265e14b6880aa29d96adba6d3d7aed0 (patch)
tree0bf906e3585c93cbe5ef67a05b4a129e18e3edbd /src/widgets
parent6e008cd57955c8029671c4c92250b86767f8ec1f (diff)
parentfcfd31c9fdd84b234cb9e42b97be62ec18389b61 (diff)
Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5.0
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()
*/