NOISSUE fix small memory leaks
This commit is contained in:
parent
c291946d2a
commit
441e8980b8
@ -83,6 +83,7 @@ MultiMCPage::MultiMCPage(QWidget *parent) : QWidget(parent), ui(new Ui::MultiMCP
|
|||||||
MultiMCPage::~MultiMCPage()
|
MultiMCPage::~MultiMCPage()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete ui;
|
||||||
|
delete defaultFormat;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MultiMCPage::apply()
|
bool MultiMCPage::apply()
|
||||||
|
@ -597,6 +597,7 @@ ServersPage::ServersPage(MinecraftInstance * inst, QWidget* parent)
|
|||||||
ServersPage::~ServersPage()
|
ServersPage::~ServersPage()
|
||||||
{
|
{
|
||||||
m_model->saveNow();
|
m_model->saveNow();
|
||||||
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ServersPage::ShowContextMenu(const QPoint& pos)
|
void ServersPage::ShowContextMenu(const QPoint& pos)
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
CustomCommands::~CustomCommands()
|
CustomCommands::~CustomCommands()
|
||||||
{
|
{
|
||||||
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
CustomCommands::CustomCommands(QWidget* parent):
|
CustomCommands::CustomCommands(QWidget* parent):
|
||||||
|
@ -28,7 +28,7 @@ class CustomCommands : public QWidget
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit CustomCommands(QWidget *parent = 0);
|
explicit CustomCommands(QWidget *parent = 0);
|
||||||
~CustomCommands();
|
virtual ~CustomCommands();
|
||||||
void initialize(bool checkable, bool checked, const QString & prelaunch, const QString & wrapper, const QString & postexit);
|
void initialize(bool checkable, bool checked, const QString & prelaunch, const QString & wrapper, const QString & postexit);
|
||||||
|
|
||||||
bool checked() const;
|
bool checked() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user