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