Mercurial > minori
diff src/gui/dialog/information.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 | 91ac90a34003 |
children | 6b0768158dcd |
line wrap: on
line diff
--- a/src/gui/dialog/information.cc Wed Jun 12 22:48:16 2024 -0400 +++ b/src/gui/dialog/information.cc Wed Jun 12 23:03:22 2024 -0400 @@ -230,7 +230,7 @@ _started = anime->GetUserDateStarted(); if (!_started.IsValid()) { date->SetEnabled(false); - _started = anime->GetAirDate(); + _started = anime->GetStartedDate(); } date->SetDate(_started); layout->addWidget(date, 1, 0); @@ -247,7 +247,7 @@ _completed = anime->GetUserDateCompleted(); if (!_completed.IsValid()) { date->SetEnabled(false); - _completed = anime->GetAirDate(); + _completed = anime->GetCompletedDate(); } date->SetDate(_completed); layout->addWidget(date, 1, 1);