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

Make sure that it's empty

parent 81654404
......@@ -897,7 +897,7 @@ void AddresseeLineEdit::slotEditingFinished()
d->mightBeGroupJobsClear();
d->groupsClear();
if (!text().isEmpty() && enableAkonadiSearch()) {
if (!text().trimmed().isEmpty() && enableAkonadiSearch()) {
const QStringList addresses = KEmailAddress::splitAddressList(text());
for (const QString &address : addresses) {
Akonadi::ContactGroupSearchJob *job = new Akonadi::ContactGroupSearchJob();
......
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