diff options
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/joinchattask.cpp')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/tasks/joinchattask.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/joinchattask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/joinchattask.cpp index 35fab516..d8a4c709 100644 --- a/kopete/protocols/groupwise/libgroupwise/tasks/joinchattask.cpp +++ b/kopete/protocols/groupwise/libgroupwise/tasks/joinchattask.cpp @@ -59,9 +59,9 @@ bool JoinChatTask::take( Transfer * transfer ) Field::SingleField * contact = 0; Field::FieldList contactList = participants->fields(); const Field::FieldListIterator end = contactList.end(); - for ( Field::FieldListIterator it = contactList.tqfind( NM_A_SZ_DN ); + for ( Field::FieldListIterator it = contactList.find( NM_A_SZ_DN ); it != end; - it = contactList.tqfind( ++it, NM_A_SZ_DN ) ) + it = contactList.find( ++it, NM_A_SZ_DN ) ) { contact = static_cast<Field::SingleField *>( *it ); if ( contact ) @@ -83,9 +83,9 @@ bool JoinChatTask::take( Transfer * transfer ) Field::SingleField * contact = 0; Field::FieldList contactList = invitees->fields(); const Field::FieldListIterator end = contactList.end(); - for ( Field::FieldListIterator it = contactList.tqfind( NM_A_SZ_DN ); + for ( Field::FieldListIterator it = contactList.find( NM_A_SZ_DN ); it != end; - it = contactList.tqfind( ++it, NM_A_SZ_DN ) ) + it = contactList.find( ++it, NM_A_SZ_DN ) ) { contact = static_cast<Field::SingleField *>( *it ); if ( contact ) |