mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-30 01:00:13 +02:00
Remove cruft
This commit is contained in:
@@ -225,15 +225,6 @@ Tomahawk::Accounts::TelepathyConfigStorage::save( const QString& accountId, cons
|
|||||||
void
|
void
|
||||||
Tomahawk::Accounts::TelepathyConfigStorage::load( const QString& accountId, Account::Configuration& cfg )
|
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 ) );
|
Tp::AccountPtr account = m_tpam->accountForObjectPath( accountIdToTelepathyPath( accountId ) );
|
||||||
|
|
||||||
if ( !account->normalizedName().isEmpty() )
|
if ( !account->normalizedName().isEmpty() )
|
||||||
|
Reference in New Issue
Block a user