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 4b5f0ce6 authored by Laurent Montel's avatar Laurent Montel 😁

Don't init() if not necessary

parent cec63723
......@@ -667,8 +667,8 @@ void AddresseeLineEditPrivate::slotLDAPSearchData(const KLDAP::LdapResult::List
void AddresseeLineEditPrivate::slotEditCompletionOrder()
{
init(); // for AddresseeLineEditStatic::self()->ldapSearch
if (mUseCompletion) {
init(); // for AddresseeLineEditStatic::self()->ldapSearch
QPointer<CompletionOrderEditor> dlg = new CompletionOrderEditor(AddresseeLineEditManager::self()->ldapSearch(), nullptr);
if (dlg->exec()) {
AddresseeLineEditManager::self()->updateCompletionOrder();
......
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