diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-11-02 08:22:37 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-11-15 12:36:43 (GMT) |
commit | 32f8c01196f6ebc2bd18ee9f66929bdba61fea20 (patch) | |
tree | f039c8c4e0c66f335f89055f0353dad59552fecb | |
parent | ef4803f1d77fca4420b83fd9b0e109672b6473bf (diff) | |
download | Qt-32f8c01196f6ebc2bd18ee9f66929bdba61fea20.zip Qt-32f8c01196f6ebc2bd18ee9f66929bdba61fea20.tar.gz Qt-32f8c01196f6ebc2bd18ee9f66929bdba61fea20.tar.bz2 |
doc: Fix documentation of QTextEdit::setDocument
QTextEdit::setDocument() has failed to delete its current document
since June 2006 despite its claims of the otherwise. Since most Qt
versions now exhibit this behavior, the only safe way to fix the problem
is to change the documentation to reflect what actually happens.
Task-number: QTBUG-14049
Reviewed-by: Lars
-rw-r--r-- | src/gui/widgets/qtextedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qtextedit.cpp b/src/gui/widgets/qtextedit.cpp index 4541730..6b3f444 100644 --- a/src/gui/widgets/qtextedit.cpp +++ b/src/gui/widgets/qtextedit.cpp @@ -773,7 +773,7 @@ Qt::Alignment QTextEdit::alignment() const is the document's parent object. The parent object of the provided document remains the owner of the object. - If the current document is a child of the text editor, then it is deleted. + The editor does not delete the current document, even if it is a child of the editor. \sa document() */ |