diff --git a/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.cpp b/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.cpp index c793fff88..a18f63f37 100644 --- a/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.cpp +++ b/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.cpp @@ -135,8 +135,6 @@ EchonestGenerator::~EchonestGenerator() void EchonestGenerator::setupCatalogs() { - // TODO Yes this is a race condition. If multiple threads initialize echonestgenerator at the exact same time we could run into some issues. - // not dealing with that right now. if ( s_catalogs == 0 ) s_catalogs = new CatalogManager( 0 ); // qDebug() << "ECHONEST:" << m_logo.size(); diff --git a/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h b/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h index e176ea258..a19acc1ca 100644 --- a/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h +++ b/src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h @@ -63,7 +63,7 @@ public: virtual QStringList typeSelectors() const; }; -class EchonestGenerator : public GeneratorInterface +class DLLEXPORT EchonestGenerator : public GeneratorInterface { Q_OBJECT public: