1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

* Clean up Query::infoSystemFinished.

This commit is contained in:
Christian Muehlhaeuser 2012-05-19 10:12:32 +02:00
parent 2ef10fee39
commit 80fe1f0777
3 changed files with 8 additions and 4 deletions

View File

@ -24,6 +24,7 @@
#include <QCryptographicHash>
#include <QNetworkConfiguration>
#include <QNetworkReply>
#include <QtPlugin>
#include "Album.h"
#include "Typedefs.h"
@ -383,3 +384,6 @@ SpotifyPlugin::chartReturned()
else
qDebug() << "Network error in fetching chart:" << reply->url().toString();
}
Q_EXPORT_PLUGIN2( Tomahawk::InfoSystem::InfoPlugin, Tomahawk::InfoSystem::SpotifyPlugin )

View File

@ -22,6 +22,8 @@
#include "infosystem/InfoSystem.h"
#include "infosystem/InfoSystemWorker.h"
#include "infoplugins/InfoPluginDllMacro.h"
#include <QNetworkReply>
#include <QObject>
@ -33,9 +35,10 @@ namespace Tomahawk
namespace InfoSystem
{
class SpotifyPlugin : public InfoPlugin
class INFOPLUGINDLLEXPORT SpotifyPlugin : public InfoPlugin
{
Q_OBJECT
Q_INTERFACES( Tomahawk::InfoSystem::InfoPlugin )
public:
SpotifyPlugin();

View File

@ -887,9 +887,6 @@ Query::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QVaria
void
Query::infoSystemFinished( QString target )
{
tDebug() << Q_FUNC_INFO;
Q_UNUSED( target );
if ( target != id() )
return;