mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +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();
|
m_longDescription = m_artist->biography();
|
||||||
emit longDescriptionChanged( m_longDescription );
|
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