Again delete only QSettings object created by QgsCollapsibleGroupBox, not any passed to class