1
0
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:
Christian Muehlhaeuser 2012-05-27 18:35:58 +02:00
parent 4d281b645c
commit 74af29054a

View File

@ -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();
}
}