mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Don't load SourceList twice.
This commit is contained in:
@@ -344,7 +344,7 @@ closeconnection:
|
||||
void
|
||||
Servent::createParallelConnection( Connection* orig_conn, Connection* new_conn, const QString& key )
|
||||
{
|
||||
qDebug() << "Servent::createParallelConnection, key:" << key << thread();
|
||||
qDebug() << "Servent::createParallelConnection, key:" << key << thread() << orig_conn;
|
||||
// if we can connect to them directly:
|
||||
if( orig_conn->outbound() )
|
||||
{
|
||||
|
@@ -158,7 +158,6 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] )
|
||||
new TomahawkSettings( this );
|
||||
m_audioEngine = new AudioEngine;
|
||||
new ScanManager( this );
|
||||
|
||||
new Pipeline( this );
|
||||
|
||||
m_servent = new Servent( this );
|
||||
@@ -167,8 +166,6 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] )
|
||||
qDebug() << "Init Database.";
|
||||
setupDatabase();
|
||||
|
||||
new SourceList( this );
|
||||
|
||||
qDebug() << "Init Echonest Factory.";
|
||||
GeneratorFactory::registerFactory( "echonest", new EchonestFactory );
|
||||
|
||||
|
Reference in New Issue
Block a user