Port away from deprecated setMargin method.

This commit is contained in:
Andrius Štikonas 2022-01-18 20:34:53 +00:00
parent ca788a9e69
commit 0ff20194b0
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ InfoPane::InfoPane(QWidget* parent) :
QWidget(parent),
m_GridLayout(new QGridLayout(this))
{
layout()->setMargin(0);
layout()->setContentsMargins(0, 0, 0, 0);
}
/** Clears the InfoPane, leaving it empty */