diff options
author | mread <qt-info@nokia.com> | 2011-08-02 10:20:55 +0100 |
---|---|---|
committer | mread <qt-info@nokia.com> | 2011-08-02 10:25:32 +0100 |
commit | e3a22e7e91c0231acfaecfd8c2c77131c2930d96 (patch) | |
tree | d187595391cfa959e6d712743100782481b9848d /doc/src/snippets/code/doc_src_debug.cpp | |
parent | 8e2dc4ac2ec35e9b2f57ade5af390c2d44765382 (diff) | |
download | qt4-tools-e3a22e7e91c0231acfaecfd8c2c77131c2930d96.tar.gz |
Fixed memory leak in QMessageBox::setInformativeText in Symbian
The Symbian implementation of QMessageBox::setInformativeText was
taking the text from a QLabel and using it in a QTextBrowser, leaving
the QLabel un-parented and therefore leaking. This is fixed by setting
the QMessageBox as the QLabel's parent
Task-number: QTBUG-20622
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'doc/src/snippets/code/doc_src_debug.cpp')
0 files changed, 0 insertions, 0 deletions