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
@ -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…
x
Reference in New Issue
Block a user