Fix memory leak

This commit is contained in:
Yuriy Skalko 2020-11-24 19:58:24 +02:00
parent 43b16548b4
commit b3be47765b
2 changed files with 7 additions and 0 deletions

View File

@ -343,6 +343,12 @@ GuiAbout::GuiAbout(GuiView & lv)
}
GuiAbout::~GuiAbout()
{
delete d;
}
void GuiAbout::on_buttonBox_rejected()
{
close();

View File

@ -24,6 +24,7 @@ class GuiAbout : public DialogView
public:
// Constructor
GuiAbout(GuiView & lv);
~GuiAbout();
private Q_SLOTS:
void on_buttonBox_rejected();