mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:53:23 +00:00
Fix memory leak on the Export Dialog
The export dialog was being created but never free'd. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
31e0ec8696
commit
a00d8101c5
1 changed files with 2 additions and 2 deletions
|
@ -1291,6 +1291,6 @@ void MainWindow::turnOffNdlTts()
|
|||
|
||||
void MainWindow::on_actionExport_triggered()
|
||||
{
|
||||
DiveLogExportDialog *diveLogExport = new DiveLogExportDialog(this);
|
||||
diveLogExport->show();
|
||||
DiveLogExportDialog diveLogExport;
|
||||
diveLogExport.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue