mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-01-26 21:35:46 +00:00
NOISSUE Fix possible memory leak
This commit is contained in:
parent
f711425bcf
commit
a21358e196
@ -14,6 +14,11 @@ CheckableInputDialog::CheckableInputDialog(QWidget *parent) : QDialog(parent), u
|
||||
&QDialog::reject);
|
||||
}
|
||||
|
||||
CheckableInputDialog::~CheckableInputDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void CheckableInputDialog::setText(QString text)
|
||||
{
|
||||
ui->label->setText(text);
|
||||
|
@ -13,6 +13,8 @@ class CheckableInputDialog : public QDialog
|
||||
|
||||
public:
|
||||
CheckableInputDialog(QWidget *parent);
|
||||
~CheckableInputDialog();
|
||||
|
||||
void setText(QString text);
|
||||
void setExtraText(QString text);
|
||||
void setCheckboxText(QString checkboxText);
|
||||
|
Loading…
x
Reference in New Issue
Block a user