- Code: Select all
void MsnNotificationConnection::requestChat(QString handle)
{
QPtrListIterator<ChatInformation> it(openChats_);
while( it.current() != 0 )
{
if( it.current()->getContactHandle() == handle )
{
#ifdef KMESSDEBUG_NOTIFICATION
kdDebug() << "MsnNotificationConnection::requestChat: Already have a
chatconversation with '" << handle << "' pending." << endl;
#endif
return;
}
}
The iterator "it" is not being incremented!!!
(Gentoo bug #172018)

