Added some helpers to the destructor in repeaterSetup. Not sure if it

helps, but it hasn't crashed on exit yet.
merge-requests/2/head
Elliott Liggett 2021-04-09 09:37:54 -07:00
rodzic c68fc5e99c
commit 84909b4a13
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -25,6 +25,11 @@ repeaterSetup::repeaterSetup(QWidget *parent) :
repeaterSetup::~repeaterSetup()
{
// Trying this for more consistant destruction
rig.inputs.clear();
rig.preamps.clear();
rig.attenuators.clear();
delete ui;
}

Wyświetl plik

@ -2,6 +2,7 @@
#define REPEATERSETUP_H
#include <QMainWindow>
#include <QDebug>
#include "repeaterattributes.h"
#include "rigidentities.h"