mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
* Trim the artist biography before showing it.
This commit is contained in:
parent
04a2be8398
commit
4d7efe82a2
@ -365,7 +365,7 @@ ArtistInfoWidget::onBiographyLoaded()
|
||||
m_longDescription = m_artist->biography();
|
||||
emit longDescriptionChanged( m_longDescription );
|
||||
|
||||
ui->biography->setHtml( m_artist->biography().replace( '\n', "<br>" ) );
|
||||
ui->biography->setHtml( m_artist->biography().trimmed().replace( '\n', "<br>" ) );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user