Hi all,

seems that QPointer::clear() does not work as expected (for me).

E.g. I assume that QPointer:clear() deletes the internal object ... but 
this not happens..

So, what is way to delete an object (1 or 2)?

QPointer<QObject> p = new QObject();

1) delete p;
2) delete p.data();

BR,
Denis


_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to