1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-10-05 01:52:28 +02:00

Use virtual method for factory name

This commit is contained in:
Leo Franchi
2012-03-09 22:36:35 -05:00
parent 970b3e79a9
commit 2d1a036b3d
7 changed files with 10 additions and 10 deletions

View File

@@ -456,7 +456,7 @@ AtticaManager::payloadFetched()
if ( reply->property( "createAccount" ).toBool() )
{
// Do the install / add to tomahawk
Tomahawk::Accounts::Account* resolver = Tomahawk::Accounts::ResolverAccountFactory::createFromPath( resolverPath, true );
Tomahawk::Accounts::Account* resolver = Tomahawk::Accounts::ResolverAccountFactory::createFromPath( resolverPath, "resolveraccount", true );
Tomahawk::Accounts::AccountManager::instance()->addAccount( resolver );
TomahawkSettings::instance()->addAccount( resolver->accountId() );
}