summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorDean Dettman <dean.dettman@nokia.com>2009-11-24 13:25:41 (GMT)
committerDean Dettman <dean.dettman@nokia.com>2009-11-24 13:25:41 (GMT)
commitd79d756d057f20ecc1a6e70a00fe792c2a1f95c8 (patch)
treeab3dff40514961e0d6c2b27fb6593a6527b39f38 /src/gui/widgets
parent4cfc3a884835667fe8c3a6aa745dc4ace34794e4 (diff)
downloadQt-d79d756d057f20ecc1a6e70a00fe792c2a1f95c8.zip
Qt-d79d756d057f20ecc1a6e70a00fe792c2a1f95c8.tar.gz
Qt-d79d756d057f20ecc1a6e70a00fe792c2a1f95c8.tar.bz2
Docs : Add details to QMdiArea::removeSubWindow()
Clarifying that the behaviour is different depending on what is passed in. Reviewed-by: Morten Engvoldsen
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qmdiarea.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/qmdiarea.cpp b/src/gui/widgets/qmdiarea.cpp
index b3288c3..f3dbe34 100644
--- a/src/gui/widgets/qmdiarea.cpp
+++ b/src/gui/widgets/qmdiarea.cpp
@@ -1947,8 +1947,10 @@ QMdiSubWindow *QMdiArea::addSubWindow(QWidget *widget, Qt::WindowFlags windowFla
/*!
Removes \a widget from the MDI area. The \a widget must be
either a QMdiSubWindow or a widget that is the internal widget of
- a subwindow. Note that the subwindow is not deleted by QMdiArea
- and that its parent is set to 0.
+ a subwindow. Note \a widget is never actually deleted by QMdiArea.
+ If a QMdiSubWindow is passed in its parent is set to 0 and it is
+ removed, but if an internal widget is passed in the child widget
+ is set to 0 but the QMdiSubWindow is not removed.
\sa addSubWindow()
*/