mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Clean up Query::infoSystemFinished.
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
#include <QCryptographicHash>
|
#include <QCryptographicHash>
|
||||||
#include <QNetworkConfiguration>
|
#include <QNetworkConfiguration>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
|
#include <QtPlugin>
|
||||||
|
|
||||||
#include "Album.h"
|
#include "Album.h"
|
||||||
#include "Typedefs.h"
|
#include "Typedefs.h"
|
||||||
@@ -383,3 +384,6 @@ SpotifyPlugin::chartReturned()
|
|||||||
else
|
else
|
||||||
qDebug() << "Network error in fetching chart:" << reply->url().toString();
|
qDebug() << "Network error in fetching chart:" << reply->url().toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Q_EXPORT_PLUGIN2( Tomahawk::InfoSystem::InfoPlugin, Tomahawk::InfoSystem::SpotifyPlugin )
|
||||||
|
@@ -22,6 +22,8 @@
|
|||||||
|
|
||||||
#include "infosystem/InfoSystem.h"
|
#include "infosystem/InfoSystem.h"
|
||||||
#include "infosystem/InfoSystemWorker.h"
|
#include "infosystem/InfoSystemWorker.h"
|
||||||
|
#include "infoplugins/InfoPluginDllMacro.h"
|
||||||
|
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
@@ -33,9 +35,10 @@ namespace Tomahawk
|
|||||||
namespace InfoSystem
|
namespace InfoSystem
|
||||||
{
|
{
|
||||||
|
|
||||||
class SpotifyPlugin : public InfoPlugin
|
class INFOPLUGINDLLEXPORT SpotifyPlugin : public InfoPlugin
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Q_INTERFACES( Tomahawk::InfoSystem::InfoPlugin )
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SpotifyPlugin();
|
SpotifyPlugin();
|
||||||
|
@@ -887,9 +887,6 @@ Query::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QVaria
|
|||||||
void
|
void
|
||||||
Query::infoSystemFinished( QString target )
|
Query::infoSystemFinished( QString target )
|
||||||
{
|
{
|
||||||
tDebug() << Q_FUNC_INFO;
|
|
||||||
Q_UNUSED( target );
|
|
||||||
|
|
||||||
if ( target != id() )
|
if ( target != id() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user