summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gadudcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/gadu/gadudcc.cpp')
-rw-r--r--kopete/protocols/gadu/gadudcc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kopete/protocols/gadu/gadudcc.cpp b/kopete/protocols/gadu/gadudcc.cpp
index 6e5b416a..b44ba883 100644
--- a/kopete/protocols/gadu/gadudcc.cpp
+++ b/kopete/protocols/gadu/gadudcc.cpp
@@ -78,7 +78,7 @@ GaduDCC::unregisterAccount( unsigned int id )
return false;
}
- if ( !accounts.tqcontains( id ) ) {
+ if ( !accounts.contains( id ) ) {
kdDebug(14100) << "attempt to unregister not registered account" << endl;
initmutex.unlock();
return false;
@@ -118,7 +118,7 @@ GaduDCC::registerAccount( GaduAccount* account )
aid = account->accountId().toInt();
- if ( accounts.tqcontains( aid ) ) {
+ if ( accounts.contains( aid ) ) {
kdDebug(14100) << "attempt to register already registered account" << endl;
initmutex.unlock();
return false;
@@ -168,7 +168,7 @@ GaduDCC::slotIncoming( gg_dcc* incoming, bool& handled )
GaduDCC::~GaduDCC()
{
- if ( accounts.tqcontains( accountId ) ) {
+ if ( accounts.contains( accountId ) ) {
kdDebug( 14100 ) << "unregister account " << accountId << " in destructor " << endl;
unregisterAccount( accountId );
}