WA_DeleteOnClose & exec() on a QMenu is not a good idea

Authored by kfunk on Jul 6 2017, 11:39 PM.

Description

WA_DeleteOnClose & exec() on a QMenu is not a good idea

Tried to be clever, but this actually deletes the QMenu way to early.
Surprisingly I only get a crash when using a release build -- my ASAN
build does not complain at all.

Details

Committed
kfunkJul 6 2017, 11:41 PM
Parents
R33:2c8b356bb901: sublime: Fix crash when splitting views
Branches
Unknown
Tags
Unknown