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