diff 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
line wrap: on
line diff
--- a/src/gui/widgets/anime_info.cc	Wed Jun 12 22:48:16 2024 -0400
+++ b/src/gui/widgets/anime_info.cc	Wed Jun 12 23:03:22 2024 -0400
@@ -98,7 +98,7 @@
 	               << anime.GetEpisodes() << "\n"
 	               << Strings::ToQString(Translate::ToLocalString(anime.GetAiringStatus())) << "\n"
 	               << Strings::ToQString(Translate::ToLocalString(anime.GetSeason())) << " "
-	               << anime.GetAirDate().GetYear().value_or(2000) << "\n"
+	               << anime.GetStartedDate().GetYear().value_or(2000) << "\n"
 	               << Strings::ToQString((genres.size() > 1)    ? Strings::Implode(genres, ", ")    : "-") << "\n"
 	               << Strings::ToQString((producers.size() > 1) ? Strings::Implode(producers, ", ") : "-") << "\n"
 	               << anime.GetAudienceScore() << "%";