diff options
-rw-r--r-- | qt-ui/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 55e4c4db7..4173c5f07 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -1291,6 +1291,6 @@ void MainWindow::turnOffNdlTts() void MainWindow::on_actionExport_triggered() { - DiveLogExportDialog *diveLogExport = new DiveLogExportDialog(this); - diveLogExport->show(); + DiveLogExportDialog diveLogExport; + diveLogExport.exec(); } |