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

Minor optimization

parent fe2e8168
......@@ -38,7 +38,7 @@ std::vector<const Extractor*> ExtractorRepository::extractorsForMessage(KMime::C
if (!part)
return v;
for (auto it = m_extractors.begin(); it != m_extractors.end(); ++it) {
for (auto it = m_extractors.begin(), end = m_extractors.end(); it != end; ++it) {
for (const auto &filter : (*it).filters()) {
auto header = part->headerByType(filter.headerName());
if (!header && part->topLevel())
......
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