Mercurial > minori
diff src/gui/window.cc @ 319:d928ec7b6a0d
services/kitsu: implement GetAnimeList()
it finally works!
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 12 Jun 2024 17:52:26 -0400 |
parents | 34347fd2a2de |
children | 71396ecb6f7e |
line wrap: on
line diff
--- a/src/gui/window.cc Wed Jun 12 05:25:41 2024 -0400 +++ b/src/gui/window.cc Wed Jun 12 17:52:26 2024 -0400 @@ -111,7 +111,7 @@ const auto& elements = anitomy.elements(); const std::string title = Strings::ToUtf8String(elements.get(anitomy::kElementAnimeTitle)); - int id = Anime::db.GetAnimeFromTitle(title); + int id = Anime::db.LookupAnimeTitle(title); if (id <= 0) continue;