diff options
Diffstat (limited to 'qt-ui/about.cpp')
-rw-r--r-- | qt-ui/about.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/about.cpp b/qt-ui/about.cpp index 132f496de..dd9431c50 100644 --- a/qt-ui/about.cpp +++ b/qt-ui/about.cpp @@ -1,5 +1,6 @@ #include "about.h" #include "ssrf-version.h" +#include "mainwindow.h" #include <QDebug> #include <QDialogButtonBox> #include <QNetworkReply> @@ -7,7 +8,7 @@ SubsurfaceAbout *SubsurfaceAbout::instance() { - static SubsurfaceAbout *self = new SubsurfaceAbout(); + static SubsurfaceAbout *self = new SubsurfaceAbout(mainWindow()); self->setAttribute(Qt::WA_QuitOnClose, false); return self; } |