Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kontact
Commits
7e3644b6
Commit
7e3644b6
authored
Mar 20, 2021
by
Laurent Montel
Browse files
Merge branch 'release/21.04'
parents
4f30dc83
abeb9f4c
Pipeline
#54930
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/kcmkontact.cpp
View file @
7e3644b6
...
...
@@ -32,9 +32,9 @@ Q_DECL_EXPORT KCModule *create_kontactconfig(QWidget *parent, const char *)
KcmKontact
::
KcmKontact
(
QWidget
*
parent
)
:
KCModule
(
parent
)
{
auto
topLayout
=
new
Q
Form
Layout
(
this
);
auto
topLayout
=
new
Q
VBox
Layout
(
this
);
QBoxLayout
*
pluginStartupLayout
=
new
QHBoxLayout
();
topLayout
->
add
Item
(
pluginStartupLayout
);
topLayout
->
add
Layout
(
pluginStartupLayout
);
QCheckBox
*
forceStartupPluginCheckBox
=
new
QCheckBox
(
Prefs
::
self
()
->
forceStartupPluginItem
()
->
label
(),
this
);
forceStartupPluginCheckBox
->
setObjectName
(
QStringLiteral
(
"kcfg_ForceStartupPlugin"
));
...
...
@@ -50,9 +50,9 @@ KcmKontact::KcmKontact(QWidget *parent)
Q_EMIT
changed
(
true
);
});
pluginStartupLayout
->
addWidget
(
mPluginCombo
);
pluginStartupLayout
->
addStretch
();
mPluginCombo
->
setEnabled
(
false
);
pluginStartupLayout
->
addStretch
(
1
);
connect
(
forceStartupPluginCheckBox
,
&
QAbstractButton
::
toggled
,
mPluginCombo
,
&
QWidget
::
setEnabled
);
...
...
@@ -61,6 +61,7 @@ KcmKontact::KcmKontact(QWidget *parent)
topLayout
->
addWidget
(
showSideBarCheckbox
);
addConfig
(
Prefs
::
self
(),
this
);
topLayout
->
addStretch
();
load
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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