mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Trim the artist biography before showing it.
This commit is contained in:
@@ -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>" ) );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user