1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

* Easier substring extraction.

This commit is contained in:
Christian Muehlhaeuser 2012-03-16 17:50:26 +01:00
parent ad82b81225
commit c9a3b697ef

View File

@ -482,7 +482,7 @@ DatabaseImpl::sortname( const QString& str, bool replaceArticle )
if ( replaceArticle && s.startsWith( "the " ) )
{
s = s.right( s.length() - 4 );
s = s.mid( 4 );
}
return s;