summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-05-21 15:41:46 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-21 22:20:48 +0900
commit51e5030c06862b54cb5aa030693dbcb9eec8c01f (patch)
treea553f5bdd07c72b5c69a19a28ed4322ae5a147f8 /qt-ui/mainwindow.cpp
parent19e22e1bb76d942ae17a5515c5d635a7d63f70e9 (diff)
downloadsubsurface-51e5030c06862b54cb5aa030693dbcb9eec8c01f.tar.gz
Shortcuts for the exporting window.
Add the ability to close the exporting window, also Quit Subsurface with this window in front, for consistency. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index d70e7b31e..b00d5e814 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -1198,6 +1198,6 @@ void MainWindow::on_profScaled_clicked(bool triggered)
void MainWindow::on_actionExport_triggered()
{
- DiveLogExportDialog *diveLogExport = new DiveLogExportDialog();
+ DiveLogExportDialog *diveLogExport = new DiveLogExportDialog(this);
diveLogExport->show();
}