tycho: fix subwindows not actually closing

master
an 2019-06-15 21:27:46 -04:00
parent 3c42cd451d
commit 8889bcf1a4
1 changed files with 3 additions and 0 deletions

View File

@ -11,8 +11,11 @@ ProjectView::ProjectView(QWidget *parent) :
proj(new ProjectModel)
{
auto widget = new QWidget(this);
ui->setupUi(widget);
setWidget(widget);
setAttribute(Qt::WA_DeleteOnClose);
dbgPrintFunc();
}