mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 11:50:37 +02:00
* Easier substring extraction.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user