From cbda055c89353fc0f337941b199b2c4c0c9f8cfe Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 24 May 2012 12:10:30 +0200 Subject: [PATCH] * Fixed enabling all resolvers on startup. --- src/libtomahawk/accounts/ResolverAccount.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/accounts/ResolverAccount.cpp b/src/libtomahawk/accounts/ResolverAccount.cpp index 29cecc757..5113892da 100644 --- a/src/libtomahawk/accounts/ResolverAccount.cpp +++ b/src/libtomahawk/accounts/ResolverAccount.cpp @@ -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