deleteLater
Andras Mantia
amantia at kde.org
Tue May 6 08:09:23 UTC 2008
On Tuesday 06 May 2008, Vladimir Prus wrote:
> Can somebody give me a concrete use case where using deleteLater,
> *here* might fix a *real* problem? It seems highly unlikely that the
> ::close method will *ever* be called, directly or indirectly, from
> within view.
Usually use deleteLater in slots connected to an object from where the
signal is emitted, so the caller is not deleted before the eventloop is
re-entered.
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080506/4fa3c755/attachment.sig>
More information about the KDevelop-devel
mailing list