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) ); 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();