mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
db96850782
commit
08b5ed14d7
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue