Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Runtime
Commits
ef17e257
Commit
ef17e257
authored
Oct 12, 2021
by
Laurent Montel
😁
Browse files
GIT_SILENT: use {} as default argument
parent
662c46d6
Pipeline
#88085
failed with stage
in 27 minutes and 10 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
agents/newmailnotifier/newmailnotifiersettingswidget.cpp
View file @
ef17e257
...
...
@@ -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
);
...
...
kcms/ldap/kcmldap.cpp
View file @
ef17e257
...
...
@@ -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
);
...
...
resources/ews/ewsclient/auth/ewsoauth.cpp
View file @
ef17e257
...
...
@@ -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
();
...
...
resources/ews/ewsprogressdialog.cpp
View file @
ef17e257
...
...
@@ -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
);
...
...
resources/ews/ewssubscriptionwidget.cpp
View file @
ef17e257
...
...
@@ -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"
));
...
...
resources/imap/subscriptiondialog.cpp
View file @
ef17e257
...
...
@@ -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
);
...
...
resources/kalarm/shared/alarmtyperadiowidget.cpp
View file @
ef17e257
...
...
@@ -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
);
...
...
resources/shared/singlefileresource/singlefileresourceconfigwidgetbase.cpp
View file @
ef17e257
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment