1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-27 05:12:34 +01:00

Remove cruft

This commit is contained in:
Teo Mrnjavac 2013-06-29 15:18:39 +02:00
parent 484b7ccb88
commit af6a90f956

View File

@ -225,15 +225,6 @@ Tomahawk::Accounts::TelepathyConfigStorage::save( const QString& accountId, cons
void
Tomahawk::Accounts::TelepathyConfigStorage::load( const QString& accountId, Account::Configuration& cfg )
{
// TomahawkSettings* s = TomahawkSettings::instance();
// s->beginGroup( "accounts/" + accountId );
// cfg.accountFriendlyName = s->value( "accountfriendlyname", QString() ).toString();
// cfg.enabled = s->value( "enabled", false ).toBool();
// cfg.configuration = s->value( "configuration", QVariantHash() ).toHash();
// cfg.acl = s->value( "acl", QVariantMap() ).toMap();
// cfg.types = s->value( "types", QStringList() ).toStringList();
// s->endGroup();
Tp::AccountPtr account = m_tpam->accountForObjectPath( accountIdToTelepathyPath( accountId ) );
if ( !account->normalizedName().isEmpty() )