Commit af07103d authored by Laurent Montel's avatar Laurent Montel 😁

Minor optimizatio

parent 8262a482
......@@ -674,7 +674,7 @@ QString NodeHelper::persistentIndex( const KMime::Content * node ) const
Q_FOREACH( const QList<KMime::Content*> & extraNodes, mExtraContents ) {
const int extraNodesSize( extraNodes.size() );
for ( int i = 0; i < extraNodesSize; ++i )
if ( topLevel == extraNodes[i] )
if ( topLevel == extraNodes.at(i) )
return indexStr.prepend( QString::fromLatin1("%1:").arg(i) );
}
return indexStr;
......
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