Fix memory leak.

This commit is contained in:
sledgehammer999 2016-04-04 00:10:18 +03:00
commit 2b0ad4477e
2 changed files with 6 additions and 0 deletions

View file

@ -74,6 +74,11 @@ ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action)
move(Utils::Misc::screenCenter(this));
}
ShutdownConfirmDlg::~ShutdownConfirmDlg()
{
delete ui;
}
void ShutdownConfirmDlg::showEvent(QShowEvent *event)
{
QDialog::showEvent(event);