diff --git a/src/libtomahawk/resolvers/ScriptCommand_AllAlbums.cpp b/src/libtomahawk/resolvers/ScriptCommand_AllAlbums.cpp index 64429562f..522ef8f8e 100644 --- a/src/libtomahawk/resolvers/ScriptCommand_AllAlbums.cpp +++ b/src/libtomahawk/resolvers/ScriptCommand_AllAlbums.cpp @@ -141,7 +141,7 @@ ScriptCommand_AllAlbums::parseAlbumVariantList( const QList< Tomahawk::artist_pt { QList< Tomahawk::album_ptr > results; - if (artists.length() != 1 && reslist.length() != artists.length()) + if ( artists.length() != 1 && reslist.length() != artists.length() ) { tLog() << "artists" << artists.length(); tLog() << "albums" << reslist.length(); @@ -151,7 +151,7 @@ ScriptCommand_AllAlbums::parseAlbumVariantList( const QList< Tomahawk::artist_pt } bool useArtistList = ( artists.length() > 1 ); - for( int i=0; iartist()->name(); arguments[ "album" ] = m_album->name(); @@ -95,9 +88,9 @@ void ScriptCommand_AllTracks::reportFailure() { if ( m_album && m_collection ) - tDebug() << Q_FUNC_INFO << "for collection" << m_collection->name() << " artist" << m_album->artist()->name() << " album" << m_album->name(); + tDebug() << Q_FUNC_INFO << "for collection" << m_collection->name() << "artist" << m_album->artist()->name() << "album" << m_album->name(); else if ( m_collection ) - tDebug() << Q_FUNC_INFO << "for collection" << m_collection->name() << " (no more information available)"; + tDebug() << Q_FUNC_INFO << "for collection" << m_collection->name() << "(no more information available)"; else tDebug() << Q_FUNC_INFO;