1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 13:43:11 +02:00

Don't carry Telepathy objectPaths around more than necessary.

This commit is contained in:
Teo Mrnjavac
2013-06-16 14:17:05 +02:00
parent 530a838a1f
commit 1bc3bf3b05

View File

@@ -69,7 +69,7 @@ Tomahawk::Accounts::TelepathyConfigStorage::onTpAccountManagerReady( Tp::Pending
{
if ( acc->protocolName() == "jabber" )
{
m_accountIds << acc->objectPath();
m_accountIds << telepathyPathToAccountId( acc->objectPath() );
keychainIds << acc->uniqueIdentifier();
}
}
@@ -94,11 +94,6 @@ Tomahawk::Accounts::TelepathyConfigStorage::onCredentialsManagerReady( const QSt
//no need to listen for it any more
disconnect( this, SLOT( onCredentialsManagerReady( QString ) ) );
for ( int i = 0; i < m_accountIds.length(); ++i )
{
m_accountIds[ i ] = telepathyPathToAccountId( m_accountIds[ i ] );
}
emit ready();
}