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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/libkopete
From:       Laurent Montel <montel () kde ! org>
Date:       2009-09-14 6:39:59
Message-ID: 1252910399.011387.22163.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1023181 by mlaurent:

Fix iterator


 M  +1 -1      kopeteaccountmanager.cpp  


--- trunk/KDE/kdenetwork/kopete/libkopete/kopeteaccountmanager.cpp #1023180:1023181
@@ -401,7 +401,7 @@
 		bool found = false;
 
 		//find first Status for OnlineStatus
-		for ( QList <Kopete::Status::StatusItem *>::ConstIterator it = statusList.begin(); \
it != statusList.end(); ++it ) { +		for ( QList <Kopete::Status::StatusItem \
*>::ConstIterator it = statusList.constBegin(); it != statusList.constEnd(); ++it ) { \
if ( ! (*it)->isGroup() && (*it)->category() == initStatus ) {  title = \
                (*it)->title();
 				message = (static_cast <Kopete::Status::Status*> (*it))->message(); //if it is \
not group, it status


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

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