Browse Source
Unfortunately we have no way to directly destroy or remove the
lambdas embedded in the QShortcut objects, so this is the
only solution to avoid leaking references. As the QShortcut
objects have the window as parent, they are destroyed with the
window so dangling refs to the destroyed window can't happen.
This and 91349d109e
fix #1549.
283
Neil Booth
9 years ago
1 changed files with 6 additions and 4 deletions
Loading…
Reference in new issue