On Sat, May 7, 2016 at 12:54 AM, Thiago Macieira <thiago.macie...@intel.com> wrote:
> > > Yes, by actually using a QSharedPointer for the constructor (as > > QWeakPointer is a weak reference to a shared pointer). > > That's not the same thing. For a while, we had deprecated QPointer in > favour > of QWeakPointer for tracking QObjects you did not own. But we came to our > senses before Qt 5.0 was launched and un-deprecated QPointer for that > functionality. > That's what I meant indeed, I suppose I should've been more descriptive. I think QPointer is actually to be used here, as Bo Thorsen had noted.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest