[partition] Fix build against Qt deprecations
setMargin() has been deprecated for a long time, and Calamares has a utility function for it anyway.
This commit is contained in:
parent
bcde8b87b1
commit
605ad788d0
@ -248,7 +248,7 @@ PartitionViewStep::createSummaryWidget() const
|
||||
QWidget* widget = new QWidget;
|
||||
QVBoxLayout* mainLayout = new QVBoxLayout;
|
||||
widget->setLayout( mainLayout );
|
||||
mainLayout->setMargin( 0 );
|
||||
CalamaresUtils::unmarginLayout( mainLayout );
|
||||
|
||||
Config::InstallChoice choice = m_config->installChoice();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user