comparison src/gui/widgets/anime_info.cc @ 324:5d3c9b31aa6e

anime: add completed date member
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 23:03:22 -0400
parents 1b5c04268d6a
children b5d6c27c308f
comparison
equal deleted inserted replaced
323:1686fac290c5 324:5d3c9b31aa6e
96 96
97 details_data_s << Strings::ToQString(Translate::ToLocalString(anime.GetFormat())) << "\n" 97 details_data_s << Strings::ToQString(Translate::ToLocalString(anime.GetFormat())) << "\n"
98 << anime.GetEpisodes() << "\n" 98 << anime.GetEpisodes() << "\n"
99 << Strings::ToQString(Translate::ToLocalString(anime.GetAiringStatus())) << "\n" 99 << Strings::ToQString(Translate::ToLocalString(anime.GetAiringStatus())) << "\n"
100 << Strings::ToQString(Translate::ToLocalString(anime.GetSeason())) << " " 100 << Strings::ToQString(Translate::ToLocalString(anime.GetSeason())) << " "
101 << anime.GetAirDate().GetYear().value_or(2000) << "\n" 101 << anime.GetStartedDate().GetYear().value_or(2000) << "\n"
102 << Strings::ToQString((genres.size() > 1) ? Strings::Implode(genres, ", ") : "-") << "\n" 102 << Strings::ToQString((genres.size() > 1) ? Strings::Implode(genres, ", ") : "-") << "\n"
103 << Strings::ToQString((producers.size() > 1) ? Strings::Implode(producers, ", ") : "-") << "\n" 103 << Strings::ToQString((producers.size() > 1) ? Strings::Implode(producers, ", ") : "-") << "\n"
104 << anime.GetAudienceScore() << "%"; 104 << anime.GetAudienceScore() << "%";
105 105
106 _details.GetData()->setText(details_data); 106 _details.GetData()->setText(details_data);