diff --git a/src/libtomahawk/DownloadJob.h b/src/libtomahawk/DownloadJob.h index fc5b3b84f..331f763bf 100644 --- a/src/libtomahawk/DownloadJob.h +++ b/src/libtomahawk/DownloadJob.h @@ -53,6 +53,7 @@ public: TrackState state() const { return m_state; } unsigned int retries() const { return m_retries; } + Tomahawk::track_ptr track() const { return m_track; } int progressPercentage() const; long receivedSize() const { return m_rcvdSize; } long fileSize() const { return m_fileSize; } @@ -85,7 +86,6 @@ private slots: void onDownloadProgress( qint64, qint64 ); void onDownloadFinished(); - void onUrlRetrieved( const QVariantMap& data ); private: