Mercurial > minori
diff src/gui/widgets/anime_button.cc @ 291:9a88e1725fd2
*: refactor lots of stuff
I forgot to put this into different commits, oops!
anyway, it doesn't really matter *that* much since this is an
unfinished hobby project anyway. once it starts getting stable
commit history will be more important, but for now it's not
that big of a deal
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 16:31:07 -0400 |
parents | f31305b9f60a |
children | b82841e76e79 |
line wrap: on
line diff
--- a/src/gui/widgets/anime_button.cc Wed May 08 17:32:28 2024 -0400 +++ b/src/gui/widgets/anime_button.cc Sun May 12 16:31:07 2024 -0400 @@ -91,10 +91,10 @@ { const QLocale& locale = session.config.locale.GetLocale(); - _info.GetParagraph()->SetText(locale.toString(anime.GetAirDate().GetAsQDate(), "dd MMM yyyy") + "\n" + - QString::number(anime.GetEpisodes()) + "\n" + - Strings::ToQString(Strings::Implode(anime.GetGenres(), ", ")) + "\n" + "...\n" + - QString::number(anime.GetAudienceScore()) + "%\n" + "..."); + _info.GetData()->setText(locale.toString(anime.GetAirDate().GetAsQDate(), "dd MMM yyyy") + "\n" + + QString::number(anime.GetEpisodes()) + "\n" + + Strings::ToQString(Strings::Implode(anime.GetGenres(), ", ")) + "\n" + "...\n" + + QString::number(anime.GetAudienceScore()) + "%\n" + "..."); } _synopsis.SetText(Strings::ToQString(anime.GetSynopsis()));