aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/simple_dialog.cpp
diff options
context:
space:
mode:
authorMikael Kanstrup <mikael.kanstrup@gmail.com>2017-09-17 23:48:12 +0200
committerAnders Broman <a.broman58@gmail.com>2017-09-20 05:48:06 +0000
commita17bbc184170cf2faf4752f63f4dce0bba9e0dd5 (patch)
treec7767db8e7e7dff8378a4527c98cad97541ba70e /ui/qt/simple_dialog.cpp
parent3ce30eb1fd395251696c4cbf42b52cfd5b150404 (diff)
qt: Fix some leaked menu objects
Calling QPushButton.setMenu and QMenu.addMenu does not transfer ownership of the menu. Fix some leaks by letting "receiving" object act parent for the menu object. Bug: 14071 Change-Id: Id4edaf895503ef5dd4597eac99c2cdd6ad09b2ff Reviewed-on: https://code.wireshark.org/review/23600 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/simple_dialog.cpp')
0 files changed, 0 insertions, 0 deletions