mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-09-06 21:12:28 +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);
|
||||
}
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user