1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

CompareDialog deleted just after creation

This commit is contained in:
bsongis 2014-04-21 08:27:37 +02:00
parent 7f4d72c072
commit 5a06c42bca
3 changed files with 19 additions and 13 deletions

View file

@ -1472,33 +1472,36 @@ void MainWindow::readFlash()
void MainWindow::burnConfig()
{
burnConfigDialog *bcd = new burnConfigDialog(this);
bcd->exec();
burnConfigDialog *bcd = new burnConfigDialog(this);
bcd->exec();
delete bcd;
}
void MainWindow::burnList()
{
burnConfigDialog *bcd = new burnConfigDialog(this);
bcd->listProgrammers();
burnConfigDialog *bcd = new burnConfigDialog(this);
bcd->listProgrammers();
}
void MainWindow::burnFuses()
{
fusesDialog *fd = new fusesDialog(this);
fd->exec();
fusesDialog *fd = new fusesDialog(this);
fd->exec();
delete fd;
}
void MainWindow::compare()
{
CompareDialog *fd = new CompareDialog(this);
fd->setAttribute(Qt::WA_DeleteOnClose, true);
fd->show();
delete fd;
}
void MainWindow::logFile()
{
logsDialog *fd = new logsDialog(this);
fd->show();
logsDialog *fd = new logsDialog(this);
fd->setAttribute(Qt::WA_DeleteOnClose, true);
fd->show();
}
void MainWindow::about()