mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
Remove unused code.
This commit is contained in:
parent
cc577f9e4b
commit
91c866c701
@ -417,8 +417,6 @@ ScriptResolver::doSetup( const QVariantMap& m )
|
||||
m_configSent = false;
|
||||
m_num_restarts = 0;
|
||||
|
||||
loadCollections();
|
||||
|
||||
if ( !m_stopped )
|
||||
Tomahawk::Pipeline::instance()->addResolver( this );
|
||||
|
||||
@ -446,22 +444,6 @@ ScriptResolver::setupConfWidget( const QVariantMap& m )
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ScriptResolver::loadCollections()
|
||||
{
|
||||
if ( m_capabilities.testFlag( Browsable ) )
|
||||
{
|
||||
m_collections.clear();
|
||||
// at this point we assume that all the tracks browsable through a resolver belong to the local source
|
||||
Tomahawk::collection_ptr collection( new Tomahawk::ScriptCollection( SourceList::instance()->getLocal(), this ) );
|
||||
m_collections.insert( collection->name(), collection );
|
||||
emit collectionAdded( collection );
|
||||
|
||||
//TODO: implement multiple collections from a resolver
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ScriptResolver::startProcess()
|
||||
{
|
||||
|
@ -88,7 +88,6 @@ private:
|
||||
void sendMsg( const QByteArray& msg );
|
||||
void doSetup( const QVariantMap& m );
|
||||
void setupConfWidget( const QVariantMap& m );
|
||||
void loadCollections();
|
||||
|
||||
void startProcess();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user