mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 20:00:13 +02:00
* Fixed enabling all resolvers on startup.
This commit is contained in:
@@ -124,7 +124,9 @@ ResolverAccount::init( const QString& path )
|
|||||||
void
|
void
|
||||||
ResolverAccount::hookupResolver()
|
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() ) );
|
connect( m_resolver.data(), SIGNAL( changed() ), this, SLOT( resolverChanged() ) );
|
||||||
|
|
||||||
// What resolver do we have here? Should only be types that are 'real' resolvers
|
// What resolver do we have here? Should only be types that are 'real' resolvers
|
||||||
|
Reference in New Issue
Block a user