[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/plugins/kmail/bodypartformatter
From:       Laurent Montel <montel () kde ! org>
Date:       2009-10-21 6:27:10
Message-ID: 1256106430.003737.26688.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1038346 by mlaurent:

Fix iterator


 M  +1 -1      text_calendar.cpp  


--- trunk/KDE/kdepim/plugins/kmail/bodypartformatter/text_calendar.cpp #1038345:1038346
@@ -255,7 +255,7 @@
       Attachment *a = 0;
       if ( as.count() > 0 ) {
         Attachment::List::ConstIterator it;
-        for ( it = as.begin(); it != as.end(); ++it ) {
+        for ( it = as.constBegin(); it != as.constEnd(); ++it ) {
           if ( (*it)->label() == name ) {
             a = *it;
             break;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic