1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 17:29:42 +01:00

* Fixed enabling all resolvers on startup.

This commit is contained in:
Christian Muehlhaeuser 2012-05-24 12:10:30 +02:00
parent c036c147a7
commit cbda055c89

View File

@ -124,7 +124,9 @@ ResolverAccount::init( const QString& path )
void
ResolverAccount::hookupResolver()
{
m_resolver = QWeakPointer< ExternalResolverGui >( qobject_cast< ExternalResolverGui* >( Pipeline::instance()->addScriptResolver( configuration().value( "path" ).toString(), true ) ) );
tDebug() << "Hooking up resolver:" << configuration().value( "path" ).toString() << enabled();
m_resolver = QWeakPointer< ExternalResolverGui >( qobject_cast< ExternalResolverGui* >( Pipeline::instance()->addScriptResolver( configuration().value( "path" ).toString(), enabled() ) ) );
connect( m_resolver.data(), SIGNAL( changed() ), this, SLOT( resolverChanged() ) );
// What resolver do we have here? Should only be types that are 'real' resolvers