mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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 " ) )
|
if ( replaceArticle && s.startsWith( "the " ) )
|
||||||
{
|
{
|
||||||
s = s.right( s.length() - 4 );
|
s = s.mid( 4 );
|
||||||
}
|
}
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
|
Reference in New Issue
Block a user