[Qt] Delete "ui" pointer in destructor

This commit is contained in:
scribam 2017-09-03 19:01:54 +02:00 committed by Ani
parent cd4b28b4d7
commit f39e2b999f
7 changed files with 19 additions and 0 deletions

View file

@ -35,3 +35,8 @@ welcome_dialog::welcome_dialog(QWidget* parent) : QDialog(parent), ui(new Ui::we
layout()->setSizeConstraint(QLayout::SetFixedSize);
}
welcome_dialog::~welcome_dialog()
{
delete ui;
}