1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

Removed obsolete png again

This commit is contained in:
Jason Herskowitz
2011-10-29 09:58:27 -04:00
2 changed files with 4 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -181,8 +181,6 @@ TomahawkApp::init()
TomahawkUtils::setProxyFactory( proxyFactory );
Echonest::Config::instance()->setAPIKey( "JRIHWEP6GPOER2QQ6" );
m_audioEngine = QWeakPointer<AudioEngine>( new AudioEngine );
m_scanManager = QWeakPointer<ScanManager>( new ScanManager( this ) );
new Pipeline( this );
@@ -193,6 +191,8 @@ TomahawkApp::init()
tDebug() << "Init Database.";
initDatabase();
Echonest::Config::instance()->setAPIKey( "JRIHWEP6GPOER2QQ6" );
tDebug() << "Init Echonest Factory.";
GeneratorFactory::registerFactory( "echonest", new EchonestFactory );
tDebug() << "Init Database Factory.";
@@ -223,9 +223,7 @@ TomahawkApp::init()
tDebug() << "Init InfoSystem.";
m_infoSystem = QWeakPointer<Tomahawk::InfoSystem::InfoSystem>( new Tomahawk::InfoSystem::InfoSystem( this ) );
Echonest::Config::instance()->setAPIKey( "JRIHWEP6GPOER2QQ6" );
Echonest::Config::instance()->setNetworkAccessManager( TomahawkUtils::nam() );
EchonestGenerator::setupCatalogs();
#ifndef TOMAHAWK_HEADLESS
@@ -305,10 +303,11 @@ TomahawkApp::~TomahawkApp()
delete SipHandler::instance();
Pipeline::instance()->stop();
if ( !m_database.isNull() )
delete m_database.data();
Pipeline::instance()->stop();
delete Pipeline::instance();
#ifndef TOMAHAWK_HEADLESS