Reputation: 4323
Is it safe calling QObject::deleteLater() when pointer equals 0? I googled it and searched in documentation, but I didn't find any helpful information.
Upvotes: 1
Views: 2684
Reputation: 2073
You should not be able / should not do any call to a function of a 0 pointer. It should be treated as a delete operation but it's a function of the object itself, so no object no function.
Upvotes: 4