mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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() )
|
if ( !item->artist().isNull() )
|
||||||
{
|
{
|
||||||
return DatabaseImpl::sortname( item->artist()->name(), true );
|
return item->artist()->sortname();
|
||||||
}
|
}
|
||||||
else if ( !item->album().isNull() )
|
else if ( !item->album().isNull() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user