diff options
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise/tasks/chatcountstask.cpp')
-rw-r--r-- | kopete/protocols/groupwise/libgroupwise/tasks/chatcountstask.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/chatcountstask.cpp b/kopete/protocols/groupwise/libgroupwise/tasks/chatcountstask.cpp index fb028c44..08f04b40 100644 --- a/kopete/protocols/groupwise/libgroupwise/tasks/chatcountstask.cpp +++ b/kopete/protocols/groupwise/libgroupwise/tasks/chatcountstask.cpp @@ -26,7 +26,7 @@ using namespace GroupWise; -ChatCountsTask::ChatCountsTask(Task* parent): RequestTask(parent) +ChatCountsTask::ChatCountsTask(Task* tqparent): RequestTask(tqparent) { Field::FieldList lst; createTransfer( "chatcounts", lst ); @@ -59,9 +59,9 @@ bool ChatCountsTask::take( Transfer * transfer ) } Field::FieldList counts = resultsArray->fields(); const Field::FieldListIterator end = counts.end(); - for ( Field::FieldListIterator it = counts.find( NM_A_FA_CHAT ); + for ( Field::FieldListIterator it = counts.tqfind( NM_A_FA_CHAT ); it != end; - it = counts.find( ++it, NM_A_FA_CHAT ) ) + it = counts.tqfind( ++it, NM_A_FA_CHAT ) ) { Field::MultiField * mf = static_cast<Field::MultiField *>( *it ); Field::FieldList chat = mf->fields(); |