mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
* Fixed TWK-719: Handle Twitter names in --demo mode.
This commit is contained in:
parent
4d281b645c
commit
74af29054a
@ -194,7 +194,10 @@ Source::setFriendlyName( const QString& fname )
|
||||
|
||||
m_friendlyname = fname;
|
||||
if ( m_scrubFriendlyName )
|
||||
m_friendlyname = m_friendlyname.split( "@" ).first();
|
||||
{
|
||||
if ( m_friendlyname.indexOf( "@" ) > 0 )
|
||||
m_friendlyname = m_friendlyname.split( "@" ).first();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user