-rw-r--r-- | libkcal/incidencebase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/incidencebase.cpp b/libkcal/incidencebase.cpp index 64a343c..b36dc1a 100644 --- a/libkcal/incidencebase.cpp +++ b/libkcal/incidencebase.cpp @@ -272,5 +272,5 @@ Attendee *IncidenceBase::attendeeByMail(const QString &email) qli.toFirst(); while (qli) { - if (qli.current()->email() == email) + if (qli.current()->email().lower() == email.lower()) return qli.current(); ++qli; @@ -290,5 +290,5 @@ Attendee *IncidenceBase::attendeeByMails(const QStringList &emails, const QStrin while (qli) { for ( QStringList::Iterator it = mails.begin(); it != mails.end(); ++it ) { - if (qli.current()->email() == *it) + if (qli.current()->email().lower() == (*it).lower()) return qli.current(); } |