Skip to content
Snippets Groups Projects
Commit c8660bee authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH: correct trouble in compilation of QtView

parent 7ee15d99
No related branches found
No related tags found
No related merge requests found
......@@ -68,11 +68,11 @@ void QtWidgetView::CreateGui()
QGroupBox *mainGroup = new QGroupBox();
mainGroup->setLayout(mainLayout);
QVBoxLayout *mainLayout = new QVBoxLayout();
mainLayout->addWidget(mainGroup);
QVBoxLayout *finalLayout = new QVBoxLayout();
finalLayout->addWidget(mainGroup);
// Make the scroll layout the main layout
this->setLayout(mainLayout);
// Make the final layout to the widget
this->setLayout(finalLayout);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment