Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0c92fe2e authored by Laurent Montel's avatar Laurent Montel 😁

Workaround compile error with clang

parent 07a437f3
......@@ -36,13 +36,18 @@ PIMContactsRunnerConfig::PIMContactsRunnerConfig(QWidget *parent, const QVariant
mQueryCompletionCheckBox = new QCheckBox(i18n("Search in contacts indexed from sent and received emails too"));
connect(mQueryCompletionCheckBox, &QCheckBox::stateChanged,
this, QOverload<>::of(&KCModule::changed));
this, &PIMContactsRunnerConfig::configChanged);
vbox->addWidget(mQueryCompletionCheckBox);
load();
}
void PIMContactsRunnerConfig::configChanged()
{
Q_EMIT changed();
}
void PIMContactsRunnerConfig::load()
{
KCModule::load();
......
......@@ -37,6 +37,7 @@ public Q_SLOTS:
void defaults() override;
private:
void configChanged();
QCheckBox *mQueryCompletionCheckBox = nullptr;
};
......
Markdown is supported
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