Hello,
I created a class to add another level of group (It becomes years, groups, subgroups and subgroupsTp) All works well but I still have the close button: when I link it to the close slot, my program terminates and displays an error message"The program ended abruptly". I did not understand where my problem is localized. please help me and thank you :)
Normally there are other errors visible if you write a false signal or slot. So i guess you signal and slot connection is correct and it crash, because the function in your slot try to access to unknown memory. so you should check the function from the slot.
Hello,
but the function is just "this.close()" that is all.
I hope that you understand me because in the only the close button not working.
the destructor is called then. so check your ~xxx() function.
OK this works I removed the destructor thank you Volker Dirr :)