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

Use qOverload directly (scripted)

parent 762447e3
Pipeline #77314 passed with stage
in 4 minutes and 19 seconds
......@@ -429,7 +429,7 @@ KPageWidgetItem *KontactKCMultiDialog::addModule(const KPluginMetaData &metaData
addPage(item);
}
QObject::connect(kcm, QOverload<bool>::of(&KCModuleProxy::changed), this, [d]() {
QObject::connect(kcm, qOverload<bool>(&KCModuleProxy::changed), this, [d]() {
d->_k_clientChanged();
});
......
......@@ -99,7 +99,7 @@ void KontactSettingsDialogPrivate::createDialogFromServices()
}
}
QObject::connect(q, QOverload<const QByteArray &>::of(&KontactKCMultiDialog::configCommitted), q, [](const QByteArray &componentName) {
QObject::connect(q, qOverload<const QByteArray &>(&KontactKCMultiDialog::configCommitted), q, [](const QByteArray &componentName) {
KSharedConfig::Ptr config = KSharedConfig::openConfig(QString::fromLatin1(componentName) + QLatin1String("rc"));
config->reparseConfiguration();
});
......
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