From 8c587e9b7575b6e5175528b749bf580586e216f0 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Thu, 13 Oct 2011 17:32:00 -0400 Subject: [PATCH] export and remove warning --- src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.cpp | 2 -- src/libtomahawk/playlist/dynamic/echonest/EchonestGenerator.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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: