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

Minor optimization

parent c0396308
......@@ -1564,9 +1564,9 @@ void Kleo::KeyResolver::dump() const
qCDebug(MESSAGECOMPOSER_LOG) << " " << sit->shortKeyID() << " ";
}
unsigned int i = 0;
for (std::vector<SplitInfo>::const_iterator sit = it->second.splitInfos.begin(); sit != it->second.splitInfos.end(); ++sit, ++i) {
for (std::vector<SplitInfo>::const_iterator sit = it->second.splitInfos.begin(), sitEnd = it->second.splitInfos.end(); sit != sitEnd; ++sit, ++i) {
qCDebug(MESSAGECOMPOSER_LOG) << " SplitInfo #" << i << " encryption keys: ";
for (std::vector<GpgME::Key>::const_iterator kit = sit->keys.begin(); kit != sit->keys.end(); ++kit) {
for (std::vector<GpgME::Key>::const_iterator kit = sit->keys.begin(), sitEnd = sit->keys.end(); kit != sitEnd; ++kit) {
qCDebug(MESSAGECOMPOSER_LOG) << " " << kit->shortKeyID();
}
qCDebug(MESSAGECOMPOSER_LOG) << " SplitInfo #" << i << " recipients: "
......
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