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
Kontact
Commits
eab83a86
Commit
eab83a86
authored
Aug 30, 2021
by
Laurent Montel
😁
Browse files
Use qOverload directly (scripted)
parent
762447e3
Pipeline
#77314
passed with stage
in 4 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/ksettingsdialog/kontactkcmultidialog.cpp
View file @
eab83a86
...
...
@@ -429,7 +429,7 @@ KPageWidgetItem *KontactKCMultiDialog::addModule(const KPluginMetaData &metaData
addPage
(
item
);
}
QObject
::
connect
(
kcm
,
Q
Overload
<
bool
>
::
of
(
&
KCModuleProxy
::
changed
),
this
,
[
d
]()
{
QObject
::
connect
(
kcm
,
q
Overload
<
bool
>
(
&
KCModuleProxy
::
changed
),
this
,
[
d
]()
{
d
->
_k_clientChanged
();
});
...
...
src/ksettingsdialog/kontactsettingsdialog.cpp
View file @
eab83a86
...
...
@@ -99,7 +99,7 @@ void KontactSettingsDialogPrivate::createDialogFromServices()
}
}
QObject
::
connect
(
q
,
Q
Overload
<
const
QByteArray
&>
::
of
(
&
KontactKCMultiDialog
::
configCommitted
),
q
,
[](
const
QByteArray
&
componentName
)
{
QObject
::
connect
(
q
,
q
Overload
<
const
QByteArray
&>
(
&
KontactKCMultiDialog
::
configCommitted
),
q
,
[](
const
QByteArray
&
componentName
)
{
KSharedConfig
::
Ptr
config
=
KSharedConfig
::
openConfig
(
QString
::
fromLatin1
(
componentName
)
+
QLatin1String
(
"rc"
));
config
->
reparseConfiguration
();
});
...
...
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