mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 08:41:42 +00:00
NOISSUE Fix possible memory leak
This commit is contained in:
@@ -14,6 +14,11 @@ CheckableInputDialog::CheckableInputDialog(QWidget *parent) : QDialog(parent), u
|
|||||||
&QDialog::reject);
|
&QDialog::reject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CheckableInputDialog::~CheckableInputDialog()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
|
|
||||||
void CheckableInputDialog::setText(QString text)
|
void CheckableInputDialog::setText(QString text)
|
||||||
{
|
{
|
||||||
ui->label->setText(text);
|
ui->label->setText(text);
|
||||||
|
@@ -13,6 +13,8 @@ class CheckableInputDialog : public QDialog
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
CheckableInputDialog(QWidget *parent);
|
CheckableInputDialog(QWidget *parent);
|
||||||
|
~CheckableInputDialog();
|
||||||
|
|
||||||
void setText(QString text);
|
void setText(QString text);
|
||||||
void setExtraText(QString text);
|
void setExtraText(QString text);
|
||||||
void setCheckboxText(QString checkboxText);
|
void setCheckboxText(QString checkboxText);
|
||||||
|
Reference in New Issue
Block a user