summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-05-31 13:46:21 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-05-31 13:46:21 (GMT)
commit3f6d48ad326fd261153cec1b9eab1da00a144066 (patch)
tree9ff083cf5bc7585d2037741b80ac892cde2a29a5 /src/gui/widgets
parent2eb9b74f9555d8588ca64886c1f8921659fdc71e (diff)
downloadQt-3f6d48ad326fd261153cec1b9eab1da00a144066.zip
Qt-3f6d48ad326fd261153cec1b9eab1da00a144066.tar.gz
Qt-3f6d48ad326fd261153cec1b9eab1da00a144066.tar.bz2
doc: Fixed confusing ownership issue.
Task-number: QTBUG-10934
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qstackedwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/qstackedwidget.cpp b/src/gui/widgets/qstackedwidget.cpp
index 2509a21..de8d3e6 100644
--- a/src/gui/widgets/qstackedwidget.cpp
+++ b/src/gui/widgets/qstackedwidget.cpp
@@ -186,11 +186,11 @@ int QStackedWidget::insertWidget(int index, QWidget *widget)
}
/*!
- Removes the given \a widget from the QStackedWidget.
+ Removes \a widget from the QStackedWidget. i.e., \a widget is \e
+ not deleted but simply removed from the stacked layout, causing it
+ to be hidden.
- \bold{Note:} The ownership of \a widget remains the same.
- The widget is \e not deleted, but simply removed from the widget's
- stacked layout, causing it to be hidden.
+ \bold{Note:} Ownership of \a widget reverts to the application.
\sa addWidget(), insertWidget(), currentWidget()
*/