On quinta-feira, 5 de maio de 2016 22:21:08 PDT Filippo Cucchetto wrote:
> void invokeDeleteLater(QObject* other) {
>     other->deleteLater();
>     emit aboutToBeDeleted(other)
> }

You want the emit before the deleteLater(), if the object can be in another 
thread.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

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

Reply via email to