Mercurial > minori
comparison src/core/anime_db.cc @ 383:27c462bc7815
make the "Now Playing" page actually work
| author | Paper <paper@tflc.us> |
|---|---|
| date | Thu, 06 Nov 2025 07:10:58 -0500 |
| parents | 5beae59cf042 |
| children | 1e5d922fe82b |
comparison
equal
deleted
inserted
replaced
| 382:0265e125f680 | 383:27c462bc7815 |
|---|---|
| 380 return res; | 380 return res; |
| 381 } | 381 } |
| 382 | 382 |
| 383 QImage Database::GetAnimePoster(int id) | 383 QImage Database::GetAnimePoster(int id) |
| 384 { | 384 { |
| 385 /* Creates an anime poster and then saves it to disk */ | 385 /* Creates an anime poster and then saves it to disk |
| 386 * Sorry this is kind of spaghetti... */ | |
| 386 QImage res; | 387 QImage res; |
| 387 QString posterfile; | 388 QString posterfile; |
| 388 | 389 |
| 389 std::filesystem::path posterpath = Filesystem::GetAnimePostersPath(); | 390 std::filesystem::path posterpath = Filesystem::GetAnimePostersPath(); |
| 390 | 391 |
