diff options
Diffstat (limited to 'qt-ui/divecomputermanagementdialog.cpp')
-rw-r--r-- | qt-ui/divecomputermanagementdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divecomputermanagementdialog.cpp b/qt-ui/divecomputermanagementdialog.cpp index 883c8e9a7..af27e914f 100644 --- a/qt-ui/divecomputermanagementdialog.cpp +++ b/qt-ui/divecomputermanagementdialog.cpp @@ -23,7 +23,7 @@ void DiveComputerManagementDialog::init() DiveComputerManagementDialog* DiveComputerManagementDialog::instance() { - static DiveComputerManagementDialog *self = new DiveComputerManagementDialog(); + static DiveComputerManagementDialog *self = new DiveComputerManagementDialog(mainWindow()); self->setAttribute(Qt::WA_QuitOnClose, false); return self; } |