diff options
author | Morten Sorvig <msorvig@trolltech.com> | 2009-09-11 10:49:25 (GMT) |
---|---|---|
committer | Morten Sorvig <msorvig@trolltech.com> | 2009-09-11 11:15:19 (GMT) |
commit | 0293aff5c44202e5c62e229b74d8bd0bf9206185 (patch) | |
tree | 7d39cc70948368b0c35e364c63ef041f69fa2745 /tests/auto/qhostinfo | |
parent | 6ac7728fe442988e86786cb75a851063b4380404 (diff) | |
download | Qt-0293aff5c44202e5c62e229b74d8bd0bf9206185.zip Qt-0293aff5c44202e5c62e229b74d8bd0bf9206185.tar.gz Qt-0293aff5c44202e5c62e229b74d8bd0bf9206185.tar.bz2 |
Fix memory leak when deleteLater is triggered via the main menu bar.
The deleteLater was beeing created with loopLevel of 1, causing
it to be defferd until QApplication::exec() returned.
Add a QScopedLoopLevelCounter to increase the loopLevel while
triggering the action.
RevBy: Brad
Diffstat (limited to 'tests/auto/qhostinfo')
0 files changed, 0 insertions, 0 deletions