Commit ef17e257 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use {} as default argument

parent 662c46d6
Pipeline #88085 failed with stage
in 27 minutes and 10 seconds
......@@ -118,7 +118,7 @@ NewMailNotifierSettingsWidget::NewMailNotifierSettingsWidget(const KSharedConfig
connect(howIsItWork, &QLabel::linkActivated, this, &NewMailNotifierSettingsWidget::slotHelpLinkClicked);
auto textToSpeakLayout = new QHBoxLayout;
textToSpeakLayout->setContentsMargins(0, 0, 0, 0);
textToSpeakLayout->setContentsMargins({});
auto lab = new QLabel(i18n("Message:"), parent);
lab->setObjectName(QStringLiteral("labmessage"));
textToSpeakLayout->addWidget(lab);
......
......@@ -31,7 +31,7 @@ KCMLdap::KCMLdap(QWidget *parent, const QVariantList &)
about->addAuthor(i18n("Tobias Koenig"), QString(), QStringLiteral("tokoe@kde.org"));
setAboutData(about);
auto layout = new QVBoxLayout(this);
layout->setContentsMargins(0, 0, 0, 0);
layout->setContentsMargins({});
mLdapConfigureWidget = new KLDAP::LdapConfigureWidget(this);
layout->addWidget(mLdapConfigureWidget);
......
......@@ -372,7 +372,7 @@ void EwsOAuthPrivate::authorizeWithBrowser(const QUrl &url)
mWebDialog->setWindowIcon(QIcon(QStringLiteral("akonadi-ews")));
mWebDialog->resize(400, 500);
auto layout = new QHBoxLayout(mWebDialog);
layout->setContentsMargins(0, 0, 0, 0);
layout->setContentsMargins({});
layout->addWidget(&mWebView);
mWebView.show();
......
......@@ -25,7 +25,7 @@ EwsProgressDialog::EwsProgressDialog(QWidget *parent, Type type)
auto vLayout = new QVBoxLayout(this);
vLayout->setContentsMargins(0, 0, 0, 0);
vLayout->setContentsMargins({});
vLayout->addWidget(statusLabel);
vLayout->addWidget(progress);
......
......@@ -292,14 +292,14 @@ EwsSubscriptionWidget::EwsSubscriptionWidget(EwsClient &client, EwsSettings *set
d->mSubContainer = new QWidget(this);
auto subContainerLayout = new QVBoxLayout(d->mSubContainer);
subContainerLayout->setContentsMargins(0, 0, 0, 0);
subContainerLayout->setContentsMargins({});
auto filterLineEdit = new QLineEdit(this);
filterLineEdit->setPlaceholderText(i18nc("@label:textbox", "Filter folders"));
auto treeContainer = new QWidget(this);
auto treeContainerLayout = new QHBoxLayout(treeContainer);
treeContainerLayout->setContentsMargins(0, 0, 0, 0);
treeContainerLayout->setContentsMargins({});
d->mFolderTreeView = new QTreeView(this);
d->mFolderTreeModel = new QStandardItemModel(this);
......@@ -312,7 +312,7 @@ EwsSubscriptionWidget::EwsSubscriptionWidget(EwsClient &client, EwsSettings *set
auto buttonContainer = new QWidget(this);
auto buttonContainerLayout = new QVBoxLayout(buttonContainer);
buttonContainerLayout->setContentsMargins(0, 0, 0, 0);
buttonContainerLayout->setContentsMargins({});
d->mRefreshButton = new QPushButton(this);
d->mRefreshButton->setText(i18nc("@action:button", "Reload &List"));
......
......@@ -54,7 +54,7 @@ SubscriptionDialog::SubscriptionDialog(QWidget *parent, SubscriptionDialog::Subs
auto mainWidget = new QWidget(this);
auto mainLayout = new QVBoxLayout;
mainLayout->setContentsMargins(0, 0, 0, 0);
mainLayout->setContentsMargins({});
mainWidget->setLayout(mainLayout);
topLayout->addWidget(mainWidget);
topLayout->addWidget(buttonBox);
......
......@@ -14,7 +14,7 @@ AlarmTypeRadioWidget::AlarmTypeRadioWidget(QWidget *parent)
: Akonadi::SingleFileValidatingWidget(parent)
{
ui.setupUi(this);
ui.mainLayout->setContentsMargins(0, 0, 0, 0);
ui.mainLayout->setContentsMargins({});
mButtonGroup = new QButtonGroup(ui.groupBox);
mButtonGroup->addButton(ui.activeRadio);
mButtonGroup->addButton(ui.archivedRadio);
......
......@@ -28,7 +28,7 @@ SingleFileResourceConfigWidgetBase::SingleFileResourceConfigWidgetBase(QWidget *
auto mainWidget = new QWidget(this);
auto mainLayout = new QVBoxLayout(this);
mainLayout->addWidget(mainWidget);
mainLayout->setContentsMargins(0, 0, 0, 0);
mainLayout->setContentsMargins({});
ui.setupUi(mainWidget);
ui.kcfg_Path->setMode(KFile::File);
ui.statusLabel->setVisible(false);
......
Supports Markdown
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