内存错误调完了
This commit is contained in:
@ -11,6 +11,7 @@ MainWindowLayout::MainWindowLayout(QWidget *parent) :
|
||||
QWidget(parent), ui(new Ui::MainWindowLayout) {
|
||||
ui->setupUi(this);
|
||||
layout=new QVBoxLayout(this);
|
||||
mainWindowLayout = this;
|
||||
ConfigRequest *configRequest = new ConfigRequest;
|
||||
ConfigResponse *configResponse = new ConfigResponse;
|
||||
configRequest->sendRequest(configResponse);
|
||||
@ -26,7 +27,7 @@ MainWindowLayout::MainWindowLayout(QWidget *parent) :
|
||||
|
||||
MainWindowLayout::~MainWindowLayout() {
|
||||
|
||||
delete[] list[0];
|
||||
//delete[] list[0];
|
||||
delete navBar;
|
||||
//delete layout;
|
||||
delete ui;
|
||||
|
Reference in New Issue
Block a user