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 956ad505 authored by Laurent Montel's avatar Laurent Montel 😁

remove deprecated methods

parent ef8bd84f
......@@ -60,7 +60,7 @@ Killbots::OptionsPage::OptionsPage(QWidget *parent)
instantLabel->setAlignment(Qt::AlignRight);
QGridLayout *speedLayout = new QGridLayout();
speedLayout->setMargin(0);
speedLayout->setContentsMargins(0, 0, 0, 0);
speedLayout->setSpacing(0);
speedLayout->addWidget(kcfg_AnimationSpeed, 0, 0, 1, 3);
speedLayout->addWidget(slowLabel, 1, 0);
......@@ -74,7 +74,7 @@ Killbots::OptionsPage::OptionsPage(QWidget *parent)
kcfg_PreventUnsafeMoves->setObjectName(QStringLiteral("kcfg_PreventUnsafeMoves"));
QFormLayout *formLayout = new QFormLayout(this);
formLayout->setMargin(0);
formLayout->setContentsMargins(0, 0, 0, 0);
formLayout->addRow(i18n("&Middle-click action:"), kcfg_MiddleClickAction);
formLayout->addRow(i18n("&Right-click action:"), kcfg_RightClickAction);
formLayout->addItem(new QSpacerItem(0, 16, QSizePolicy::Minimum, QSizePolicy::Fixed));
......
......@@ -90,7 +90,7 @@ Killbots::RulesetSelector::RulesetSelector(QWidget *parent)
boxLayout->setRowStretch(5, 10);
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setMargin(0);
layout->setContentsMargins(0, 0, 0, 0);
layout->addWidget(kcfg_Ruleset);
layout->addWidget(m_listWidget);
layout->addWidget(groupBox, 10);
......
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