Commit 4f164e6f authored by Laurent Montel's avatar Laurent Montel 😁

Remove unused method

parent 018b9a1c
......@@ -139,11 +139,6 @@ bool AddresseeLineEdit::autoGroupExpand() const
return d->autoGroupExpand();
}
void AddresseeLineEdit::setAutoGroupExpand(bool autoGroupExpand)
{
d->setAutoGroupExpand(autoGroupExpand);
}
void AddresseeLineEdit::setEnableBalooSearch(bool enable)
{
d->setEnableBalooSearch(enable);
......@@ -607,7 +602,7 @@ QMenu *AddresseeLineEdit::createStandardContextMenu()
menu->addSeparator();
QAction *act = menu->addAction(i18n("Automatically expand groups"));
act->setCheckable(true);
act->setChecked(autoGroupExpand());
act->setChecked(d->autoGroupExpand());
connect(act, &QAction::triggered, d, &AddresseeLineEditPrivate::slotToggleExpandGroups);
if (!groupsIsEmpty()) {
......@@ -940,7 +935,7 @@ void AddresseeLineEdit::slotGroupSearchResult(KJob *job)
d->addGroups(contactGroups);
searchJob->deleteLater();
if (autoGroupExpand()) {
if (d->autoGroupExpand()) {
expandGroups();
}
}
......
......@@ -130,7 +130,6 @@ public:
void updateCompletionOrder();
KLDAP::LdapClientSearch *ldapSearch() const;
void setAutoGroupExpand(bool autoGroupExpand);
bool autoGroupExpand() const;
void setShowRecentAddresses(bool b);
bool showRecentAddresses() const;
......
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