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

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2003-06-21 14:13:12
[Download RAW message or body]

CVS commit by ogoffart: 

wow, forget a connection


  M +2 -7      kopetemessagemanager.cpp   1.167


--- kdenonbeta/kopete/libkopete/kopetemessagemanager.cpp  #1.166:1.167
@@ -69,11 +69,9 @@ KopeteMessageManager::KopeteMessageManag
                 SLOT( slotStatusChanged( KopeteContact *, const KopeteOnlineStatus \
&, const KopeteOnlineStatus & ) ) );  
-//      kdDebug(14010) << k_funcinfo << endl;
+        connect( this, SIGNAL( contactChanged() ), this, SLOT( \
slotUpdateDisplayName() ) );  }
 
 KopeteMessageManager::~KopeteMessageManager()
 {
-//      kdDebug(14010) << k_funcinfo << endl;
-
         for( KopeteContact *c = d->mContactList.first(); c; c = \
d->mContactList.next() )  c->setConversations( c->conversations() - 1 );
@@ -131,5 +129,4 @@ const QString KopeteMessageManager::disp
 void KopeteMessageManager::setDisplayName( const QString &newName )
 {
-//      kdDebug(14010) << k_funcinfo << endl;
         disconnect( this, SIGNAL( contactChanged() ), this, SLOT( \
slotUpdateDisplayName() ) );  
@@ -141,6 +138,4 @@ void KopeteMessageManager::setDisplayNam
 void KopeteMessageManager::slotUpdateDisplayName()
 {
-//      kdDebug(14010) << k_funcinfo << endl;
-
         QString nextDisplayName;
 
@@ -217,5 +212,4 @@ void KopeteMessageManager::messageSuccee
 void KopeteMessageManager::appendMessage( KopeteMessage &msg )
 {
-//      kdDebug(14010) << k_funcinfo << endl;
         msg.setManager(this);
 
@@ -285,4 +279,5 @@ void KopeteMessageManager::removeContact
                 if(c->metaContact())
                         disconnect (c->metaContact(), \
SIGNAL(displayNameChanged(const QString &, const QString &)), this, \
SIGNAL(contactChanged())); +                disconnect (c, \
SIGNAL(contactDestroyed(KopeteContact*)) , this , \
SLOT(slotContactDestroyed(KopeteContact*)));  c->setConversations( c->conversations() \
- 1 );  }


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

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