mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 01:13:24 +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()
|
void MainWindow::on_actionExport_triggered()
|
||||||
{
|
{
|
||||||
DiveLogExportDialog *diveLogExport = new DiveLogExportDialog(this);
|
DiveLogExportDialog diveLogExport;
|
||||||
diveLogExport->show();
|
diveLogExport.exec();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue