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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/libkopete
From:       Jakub Stachowski <qbast () go2 ! pl>
Date:       2005-12-31 21:25:37
Message-ID: 1136064337.770941.13686.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 492983 by qbast:

Fix signal/slot connection



 M  +2 -2      kopeteaccountmanager.cpp  
 M  +1 -1      kopeteaccountmanager.h  


--- trunk/KDE/kdenetwork/kopete/libkopete/kopeteaccountmanager.cpp #492982:492983
@@ -214,10 +214,10 @@
 	return account;
 }
 
-void AccountManager::unregisterAccount( Account *account )
+void AccountManager::unregisterAccount( const Account *account )
 {
 	kdDebug( 14010 ) << k_funcinfo << "Unregistering account " << account->accountId() << endl;
-	d->accounts.remove( account );
+	d->accounts.removeAll( const_cast<Account*>(account) );
 	emit accountUnregistered( account );
 }
 
--- trunk/KDE/kdenetwork/kopete/libkopete/kopeteaccountmanager.h #492982:492983
@@ -202,7 +202,7 @@
 	 * \internal
 	 * Unregister the account.
 	 */
-	void unregisterAccount( Kopete::Account *account );
+	void unregisterAccount( const Kopete::Account *account );
 
 private:
 	bool isAnyAccountConnected();
[prev in list] [next in list] [prev in thread] [next in thread] 

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