1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Less unnecessary internal calls.

Not only does this make the function a tiny bit faster but also gives us
better debug info as we should have more "locals".
This commit is contained in:
Uwe L. Korn 2014-09-28 12:11:57 +01:00
parent a4ab6b8a0b
commit 7a2c534417

View File

@ -235,11 +235,11 @@ Result::toString() const
{
return QString( "Result(%1, score: %2) %3 - %4%5 (%6)" )
.arg( id() )
.arg( score() )
.arg( track()->artist() )
.arg( track()->track() )
.arg( track()->album().isEmpty() ? "" : QString( " on %1" ).arg( track()->album() ) )
.arg( url() );
.arg( m_score )
.arg( m_track->artist() )
.arg( m_track->track() )
.arg( m_track->album().isEmpty() ? QString() : QString( " on %1" ).arg( m_track->album() ) )
.arg( m_url );
}