diff options
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.cpp')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/downloadfromdivecomputer.cpp b/qt-ui/downloadfromdivecomputer.cpp index e7f655203..95582efa3 100644 --- a/qt-ui/downloadfromdivecomputer.cpp +++ b/qt-ui/downloadfromdivecomputer.cpp @@ -37,7 +37,7 @@ namespace DownloadFromDcGlobal{ DownloadFromDCWidget *DownloadFromDCWidget::instance() { - static DownloadFromDCWidget *dialog = new DownloadFromDCWidget(); + static DownloadFromDCWidget *dialog = new DownloadFromDCWidget(mainWindow()); dialog->setAttribute(Qt::WA_QuitOnClose, false); return dialog; } |