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
PIM Sieve Editor
Commits
b3e2584f
Commit
b3e2584f
authored
Oct 22, 2020
by
Laurent Montel
😁
Browse files
Add margins
parent
bae2ee5e
Pipeline
#38365
passed with stage
in 11 minutes and 39 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/importwizard/autotests/importimapsettingfinishpagetest.cpp
View file @
b3e2584f
...
...
@@ -47,7 +47,6 @@ void ImportImapSettingFinishPageTest::shouldHaveDefaultValue()
QVBoxLayout
*
mainLayout
=
w
.
findChild
<
QVBoxLayout
*>
(
QStringLiteral
(
"mainlayout"
));
QVERIFY
(
mainLayout
);
QCOMPARE
(
mainLayout
->
contentsMargins
(),
QMargins
(
0
,
0
,
0
,
0
));
}
QTEST_MAIN
(
ImportImapSettingFinishPageTest
)
src/importwizard/autotests/importimapsettingnofoundpagetest.cpp
View file @
b3e2584f
...
...
@@ -41,7 +41,6 @@ void ImportImapSettingNoFoundPageTest::shouldHaveDefaultValue()
QVBoxLayout
*
mainLayout
=
w
.
findChild
<
QVBoxLayout
*>
(
QStringLiteral
(
"mainlayout"
));
QVERIFY
(
mainLayout
);
QCOMPARE
(
mainLayout
->
contentsMargins
(),
QMargins
(
0
,
0
,
0
,
0
));
}
QTEST_MAIN
(
ImportImapSettingNoFoundPageTest
)
src/importwizard/autotests/importimapsettingprogresspagetest.cpp
View file @
b3e2584f
...
...
@@ -45,7 +45,6 @@ void ImportImapSettingProgressPageTest::shouldHaveDefaultValue()
QVBoxLayout
*
mainLayout
=
w
.
findChild
<
QVBoxLayout
*>
(
QStringLiteral
(
"mainlayout"
));
QVERIFY
(
mainLayout
);
QCOMPARE
(
mainLayout
->
contentsMargins
(),
QMargins
(
0
,
0
,
0
,
0
));
}
QTEST_MAIN
(
ImportImapSettingProgressPageTest
)
src/importwizard/autotests/importimapsettingsearchpagetest.cpp
View file @
b3e2584f
...
...
@@ -47,7 +47,6 @@ void ImportImapSettingSearchPageTest::shouldHaveDefaultValue()
QVBoxLayout
*
mainLayout
=
w
.
findChild
<
QVBoxLayout
*>
(
QStringLiteral
(
"mainlayout"
));
QVERIFY
(
mainLayout
);
QCOMPARE
(
mainLayout
->
contentsMargins
(),
QMargins
(
0
,
0
,
0
,
0
));
}
void
ImportImapSettingSearchPageTest
::
shouldAddCheckPrograms
()
...
...
src/importwizard/importimapsettingfinishpage.cpp
View file @
b3e2584f
...
...
@@ -28,7 +28,6 @@ ImportImapSettingFinishPage::ImportImapSettingFinishPage(QWidget *parent)
{
QVBoxLayout
*
mainlayout
=
new
QVBoxLayout
(
this
);
mainlayout
->
setObjectName
(
QStringLiteral
(
"mainlayout"
));
mainlayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
QLabel
*
label
=
new
QLabel
(
i18n
(
"IMAP settings were imported:"
),
this
);
label
->
setObjectName
(
QStringLiteral
(
"label"
));
...
...
src/importwizard/importimapsettingnofoundpage.cpp
View file @
b3e2584f
...
...
@@ -27,7 +27,6 @@ ImportImapSettingNoFoundPage::ImportImapSettingNoFoundPage(QWidget *parent)
{
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
mainLayout
->
setObjectName
(
QStringLiteral
(
"mainlayout"
));
mainLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
QLabel
*
lab
=
new
QLabel
(
i18n
(
"No settings found to import."
));
QFont
font
=
lab
->
font
();
...
...
src/importwizard/importimapsettingprogresspage.cpp
View file @
b3e2584f
...
...
@@ -29,7 +29,6 @@ ImportImapSettingProgressPage::ImportImapSettingProgressPage(QWidget *parent)
{
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
mainLayout
->
setObjectName
(
QStringLiteral
(
"mainlayout"
));
mainLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
mProgressTextEdit
=
new
QTextEdit
(
this
);
mProgressTextEdit
->
setObjectName
(
QStringLiteral
(
"textedit"
));
mProgressTextEdit
->
setReadOnly
(
true
);
...
...
src/importwizard/importimapsettingsearchpage.cpp
View file @
b3e2584f
...
...
@@ -29,7 +29,6 @@ ImportImapSettingSearchPage::ImportImapSettingSearchPage(QWidget *parent)
{
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
mainLayout
->
setObjectName
(
QStringLiteral
(
"mainlayout"
));
mainLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
QLabel
*
label
=
new
QLabel
(
i18n
(
"Please select the program from which you like to import IMAP settings:"
),
this
);
label
->
setObjectName
(
QStringLiteral
(
"label"
));
mainLayout
->
addWidget
(
label
);
...
...
src/serversievesettingsdialog.cpp
View file @
b3e2584f
...
...
@@ -35,7 +35,7 @@ ServerSieveSettingsDialog::ServerSieveSettingsDialog(QWidget *parent)
mServerSieveSettings
=
new
ServerSieveSettings
;
connect
(
mServerSieveSettings
,
&
ServerSieveSettings
::
enableOkButton
,
this
,
&
ServerSieveSettingsDialog
::
slotEnableButtonOk
);
lay
->
addWidget
(
mServerSieveSettings
);
lay
->
setContentsMargins
(
0
,
0
,
0
,
0
);
lay
->
setContentsMargins
(
{}
);
w
->
setLayout
(
lay
);
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
mainLayout
->
addWidget
(
w
);
...
...
src/sieveeditorconfiguredialog.cpp
View file @
b3e2584f
...
...
@@ -84,7 +84,7 @@ SieveEditorConfigureDialog::SieveEditorConfigureDialog(QWidget *parent)
mUserFeedbackWidget
=
new
KUserFeedback
::
FeedbackConfigWidget
(
this
);
QHBoxLayout
*
userFeedBackLayout
=
new
QHBoxLayout
(
userFeedBackWidget
);
userFeedBackLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
userFeedBackLayout
->
setContentsMargins
(
{}
);
userFeedBackLayout
->
addWidget
(
mUserFeedbackWidget
);
mUserFeedbackWidget
->
setFeedbackProvider
(
UserFeedBackManager
::
self
()
->
userFeedbackProvider
());
...
...
Write
Preview
Markdown
is supported
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