mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-20 13:46:06 +00:00
Fixed AboutDialog leaking (#1168)
This commit is contained in:
parent
6ad7900a3f
commit
d876c9deee
@ -913,6 +913,7 @@ void MainWindow::on_actionTabs_triggered()
|
||||
void MainWindow::on_actionAbout_triggered()
|
||||
{
|
||||
AboutDialog *a = new AboutDialog(this);
|
||||
a->setAttribute(Qt::WA_DeleteOnClose);
|
||||
a->open();
|
||||
}
|
||||
|
||||
|
@ -165,6 +165,7 @@ void NewFileDialog::on_projectsListWidget_itemDoubleClicked(QListWidgetItem *ite
|
||||
void NewFileDialog::on_aboutButton_clicked()
|
||||
{
|
||||
AboutDialog *a = new AboutDialog(this);
|
||||
a->setAttribute(Qt::WA_DeleteOnClose);
|
||||
a->open();
|
||||
}
|
||||
|
||||
|
@ -81,6 +81,7 @@ void WelcomeDialog::onLanguageComboBox_currentIndexChanged(int index)
|
||||
void WelcomeDialog::on_checkUpdateButton_clicked()
|
||||
{
|
||||
AboutDialog *a = new AboutDialog(this);
|
||||
a->setAttribute(Qt::WA_DeleteOnClose);
|
||||
a->open();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user