Is a QT connection constructed by the connect()
statement automatically cleaned up, when its creator ( for example a QAction) is deleted, or must I do this on my own, by saving connections
as instances of my class and deleting them in my destructor?
Given is the following example:
MYClass::MYClass() {
connect(this, &QAction::triggered, this, &MYClass::clicked);
}