Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 7ef0abd4 authored by Laurent Montel's avatar Laurent Montel 😁

Use qoverload

parent aa481a79
......@@ -105,7 +105,7 @@ PluginSelection::PluginSelection(KConfigSkeleton::ItemString *item, QWidget *par
"Select the plugin from this drop down list to be used as the "
"initial plugin each time Kontact is started. Otherwise, Kontact "
"will restore the last active plugin from the previous usage."));
connect(mPluginCombo, static_cast<void (KComboBox::*)(int)>(&KComboBox::currentIndexChanged), this, &PluginSelection::changed);
connect(mPluginCombo, QOverload<int>::of(&KComboBox::currentIndexChanged), this, &PluginSelection::changed);
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