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

Minor optimization

parent 158b6e5b
......@@ -288,9 +288,8 @@ void kio_sieveProtocol::changeCheck(const QUrl &url)
query.remove(0, 1);
}
QStringList q = query.split(QLatin1Char(','));
QStringList::iterator it;
for (it = q.begin(); it != q.end(); ++it) {
for (QStringList::iterator it = q.begin(), end(q.end()); it != end; ++it) {
if (((*it).section(QLatin1Char('='), 0, 0)).toLower() == QLatin1String("x-mech")) {
auth = ((*it).section(QLatin1Char('='), 1)).toUpper();
break;
......
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