mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-14 04:51:53 +02:00
* Don't load SourceList twice.
This commit is contained in:
parent
09234a1557
commit
15677b2f0f
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user