No memory leaks
Logically speaking, a new and delete have a one-to-one relationship. Why, because of QT's father-son relationship. When the parent object is deleted, all child objects are deleted
No memory leaks
Logically speaking, a new and delete have a one-to-one relationship. Why, because of QT's father-son relationship. When the parent object is deleted, all child objects are deleted