mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
Add public getter for DownloadJob's track.
This commit is contained in:
parent
62812a05f6
commit
b896a7fb91
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user