Fix QAccessibleStateChangeEvent object leak
authorJian Liang <jianliang79@gmail.com>
Mon, 16 Dec 2013 13:33:01 +0000 (21:33 +0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 17 Dec 2013 02:08:00 +0000 (03:08 +0100)
commit9b079df3f139618f9b47a130c31ea3cfdf42a76f
treefbf0b9db86151e15a96dcfa49f145d56f8e12bbc
parent68ff352906645a7a1beb0fa7e1ce34fff167c762
Fix QAccessibleStateChangeEvent object leak

Allocate QAccessibleStateChangeEvent object on stack in
QGroupBox::setChecked() to prevent leak.

Change-Id: I6b189b9c4ce6b542d6f9f1041018c39a13a8c31f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/widgets/widgets/qgroupbox.cpp