diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-12-30 16:37:04 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-12-30 07:56:00 -0800 |
commit | 08b5ed14d75e7ef9c4eeeadad8edd38e486db426 (patch) | |
tree | a5e9dfae9baa10d1c9bc8f2777660e5397fb91ec | |
parent | db96850782d2483d207d582811f620275bbc4ace (diff) | |
download | subsurface-08b5ed14d75e7ef9c4eeeadad8edd38e486db426.tar.gz |
Connect the UserSurvey to its qt-parrent
This makes sure the UserSurvey object is removed correctly by the qt
object tracking system.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 8343f624b..5a35b1366 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -748,7 +748,7 @@ void MainWindow::on_actionUserManual_triggered() void MainWindow::on_actionUserSurvey_triggered() { if(!survey) { - survey = new UserSurvey(); + survey = new UserSurvey(this); } survey->show(); } |