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:
parent
ad82b81225
commit
c9a3b697ef
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user