Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit bf85b3a6 authored by Jonathan Marten's avatar Jonathan Marten

Fix compile with Qt 5.13 and QT_DISABLE_DEPRECATED_BEFORE=0x060000

Differential Revision: https://phabricator.kde.org/D19352
parent df6ef3d3
......@@ -156,7 +156,7 @@ void SignatureConfigurator::Private::init()
QWidget *page = new QWidget(widgetStack);
widgetStack->insertWidget(pageno, page);
QVBoxLayout *page_vlay = new QVBoxLayout(page);
page_vlay->setMargin(0);
page_vlay->setContentsMargins(0, 0, 0, 0);
#ifndef QT_NO_TOOLBAR
mEditToolBar = new KToolBar(q);
......@@ -225,7 +225,7 @@ void SignatureConfigurator::Private::init()
page = new QWidget(widgetStack);
widgetStack->insertWidget(pageno, page); // force sequential numbers (play safe)
page_vlay = new QVBoxLayout(page);
page_vlay->setMargin(0);
page_vlay->setContentsMargins(0, 0, 0, 0);
hlay = new QHBoxLayout(); // inherits spacing
page_vlay->addLayout(hlay);
mFileRequester = new KUrlRequester(page);
......@@ -254,7 +254,7 @@ void SignatureConfigurator::Private::init()
page = new QWidget(widgetStack);
widgetStack->insertWidget(pageno, page);
page_vlay = new QVBoxLayout(page);
page_vlay->setMargin(0);
page_vlay->setContentsMargins(0, 0, 0, 0);
hlay = new QHBoxLayout(); // inherits spacing
page_vlay->addLayout(hlay);
mCommandEdit = new KLineEdit(page);
......
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