Commit 054a3a3b authored by Laurent Montel's avatar Laurent Montel 😁

Remove deprecated methods

parent b841dfac
......@@ -35,7 +35,7 @@ EquationEditor::EquationEditor(QWidget* parent)
m_widget = new EquationEditorWidget(this);
m_widget->edit->showEditButton(false);
m_widget->edit->m_equationEditWidget->setClearSelectionOnFocusOut(false);
m_widget->layout()->setMargin(0);
m_widget->layout()->setContentsMargins(0, 0, 0, 0);
setWindowTitle(i18n("Equation Editor"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close);
......
......@@ -85,7 +85,7 @@ class SettingsPageColor : public QWidget, public Ui::SettingsPageColor
: QWidget( parent )
{
setupUi(this);
layout()->setMargin(0);
layout()->setContentsMargins(0, 0, 0, 0);
}
};
......@@ -96,7 +96,7 @@ class SettingsPageFonts : public QWidget, public Ui::SettingsPageFonts
: QWidget( parent )
{
setupUi(this);
layout()->setMargin(0);
layout()->setContentsMargins(0, 0, 0, 0);
}
};
......@@ -107,7 +107,7 @@ class SettingsPageGeneral : public QWidget, public Ui::SettingsPageGeneral
: QWidget( parent )
{
setupUi(this);
layout()->setMargin(0);
layout()->setContentsMargins(0, 0, 0, 0);
}
};
......@@ -118,7 +118,7 @@ class SettingsPageDiagram : public QWidget, public Ui::SettingsPageDiagram
: QWidget( parent )
{
setupUi(this);
layout()->setMargin(0);
layout()->setContentsMargins(0, 0, 0, 0);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment