mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Use cached sortname instead of recalculating it over and over again.
This commit is contained in:
@@ -360,7 +360,7 @@ TreeProxyModel::textForItem( TreeModelItem* item ) const
|
||||
|
||||
if ( !item->artist().isNull() )
|
||||
{
|
||||
return DatabaseImpl::sortname( item->artist()->name(), true );
|
||||
return item->artist()->sortname();
|
||||
}
|
||||
else if ( !item->album().isNull() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user