Port away from deprecated setMargin method.
This commit is contained in:
parent
ca788a9e69
commit
0ff20194b0
|
@ -38,7 +38,7 @@ InfoPane::InfoPane(QWidget* parent) :
|
||||||
QWidget(parent),
|
QWidget(parent),
|
||||||
m_GridLayout(new QGridLayout(this))
|
m_GridLayout(new QGridLayout(this))
|
||||||
{
|
{
|
||||||
layout()->setMargin(0);
|
layout()->setContentsMargins(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Clears the InfoPane, leaving it empty */
|
/** Clears the InfoPane, leaving it empty */
|
||||||
|
|
Loading…
Reference in New Issue