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

Assign parent directly. Remove setLayout(...) when not necessary

parent 59eb4b95
......@@ -48,8 +48,7 @@ GravatarConfigWidget::GravatarConfigWidget(QWidget *parent)
: QWidget(parent)
, d(new Gravatar::GravatarConfigWidgetPrivate)
{
QHBoxLayout *mainLayout = new QHBoxLayout;
setLayout(mainLayout);
QHBoxLayout *mainLayout = new QHBoxLayout(this);
mainLayout->setMargin(0);
d->mEnableGravatarSupport = new QCheckBox(i18n("Enable Gravatar Support"));
......
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