Fix compilation of lance tool
The QLayout::setMargin(x) call has been deprecated since Qt 5.13. It was an alias for setContentsMargins(x, x, x, x) so we just replace it with that. Change-Id: I1c89eebfe776e0e3c8d0bdc19244bd452db4ef3c Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
This commit is contained in:
parent
5ba44d1427
commit
a389001710
@ -40,7 +40,7 @@ InteractiveWidget::InteractiveWidget()
|
||||
|
||||
QWidget *panelContent = new QWidget();
|
||||
QVBoxLayout *vlayout = new QVBoxLayout(panelContent);
|
||||
vlayout->setMargin(0);
|
||||
vlayout->setContentsMargins(0, 0, 0, 0);
|
||||
vlayout->setSpacing(0);
|
||||
|
||||
// create and populate the command toolbox
|
||||
|
Loading…
x
Reference in New Issue
Block a user