Commit e11cb162 authored by Laurent Montel's avatar Laurent Montel 😁

Make it compiles against qt5.13

parent c0379f3b
......@@ -334,7 +334,7 @@ void MainWindow::initWidgets()
{
QWidget *mTopWidget = new QWidget(this);
QVBoxLayout *layout = new QVBoxLayout;
layout->setMargin(0);
layout->setContentsMargins(0, 0, 0, 0);
layout->setSpacing(0);
mTopWidget->setLayout(layout);
setCentralWidget(mTopWidget);
......@@ -385,7 +385,7 @@ void MainWindow::initAboutScreen()
{
QWidget *introbox = new QWidget(mPartsStack);
QHBoxLayout *introboxHBoxLayout = new QHBoxLayout(introbox);
introboxHBoxLayout->setMargin(0);
introboxHBoxLayout->setContentsMargins(0, 0, 0, 0);
mPartsStack->addWidget(introbox);
mPartsStack->setCurrentWidget(introbox);
mIntroPart = new IntroductionWebEngineView(introbox);
......
......@@ -31,7 +31,7 @@ SidePaneBase::SidePaneBase(KontactInterface::Core *core, QWidget *parent)
, mCore(core)
{
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setMargin(0);
layout->setContentsMargins(0, 0, 0, 0);
}
SidePaneBase::~SidePaneBase()
......
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