src/gui/widgets/qdialogbuttonbox.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
--- a/src/gui/widgets/qdialogbuttonbox.cpp	Fri Feb 19 23:40:16 2010 +0200
+++ b/src/gui/widgets/qdialogbuttonbox.cpp	Fri Mar 12 15:46:37 2010 +0200
@@ -1017,6 +1017,8 @@
     If the button has already been added, it is removed and added again with the
     new role.
 
+    \note The button box takes ownership of the button.
+
     \sa removeButton(), clear()
 */
 void QDialogButtonBox::addButton(QAbstractButton *button, ButtonRole role)