[SOLVED] Does calling remove() on a QMap call the deleted item's destructor?
-
Topic title says it all. I looked around and couldn't find a clear answer to this simple question.
I have a QMap<QString, Node *> filled with nodes. When calling
@QMap<QString, Node *>::remove(node->objectName());@
will the Node class destructor be called automatically or should I delete the node manually?