mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-22 21:54:00 +02:00
const ref'ify
This commit is contained in:
@@ -166,7 +166,7 @@ Album::cover( const QSize& size, bool forceLoad ) const
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Album::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QVariant output )
|
Album::infoSystemInfo( const Tomahawk::InfoSystem::InfoRequestData& requestData, const QVariant& output )
|
||||||
{
|
{
|
||||||
if ( requestData.caller != m_uuid ||
|
if ( requestData.caller != m_uuid ||
|
||||||
requestData.type != Tomahawk::InfoSystem::InfoAlbumCoverArt )
|
requestData.type != Tomahawk::InfoSystem::InfoAlbumCoverArt )
|
||||||
@@ -189,10 +189,8 @@ Album::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QVaria
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Album::infoSystemFinished( QString target )
|
Album::infoSystemFinished( const QString& target )
|
||||||
{
|
{
|
||||||
Q_UNUSED( target );
|
|
||||||
|
|
||||||
if ( target != m_uuid )
|
if ( target != m_uuid )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@@ -65,8 +65,8 @@ signals:
|
|||||||
private slots:
|
private slots:
|
||||||
void onTracksAdded( const QList<Tomahawk::query_ptr>& tracks );
|
void onTracksAdded( const QList<Tomahawk::query_ptr>& tracks );
|
||||||
|
|
||||||
void infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, QVariant output );
|
void infoSystemInfo( const Tomahawk::InfoSystem::InfoRequestData& requestData, const QVariant& output );
|
||||||
void infoSystemFinished( QString target );
|
void infoSystemFinished( const QString& target );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Q_DISABLE_COPY( Album )
|
Q_DISABLE_COPY( Album )
|
||||||
|
Reference in New Issue
Block a user