Stack when heap's uneeded.

Authored by tcanabrava on Jun 14 2018, 12:12 PM.

Description

Stack when heap's uneeded.

There's absolutely no point on creating a QPointer
and manually deleting the item later. Just create
the variable on the stack