comparison src/core/anime_db.cc @ 392:a72d6d7b3568

anime_info: don't need to wait on the thread, just disconnect eventually, we can cancel any outgoing requests, but it's kind of unnecessary
author Paper <paper@tflc.us>
date Fri, 07 Nov 2025 07:10:32 -0500
parents 1e5d922fe82b
children
comparison
equal deleted inserted replaced
391:c3f717b7321b 392:a72d6d7b3568
383 } 383 }
384 384
385 QImage Database::GetAnimePoster(int id) 385 QImage Database::GetAnimePoster(int id)
386 { 386 {
387 /* Creates an anime poster and then saves it to disk 387 /* Creates an anime poster and then saves it to disk
388 * Sorry this is kind of spaghetti... */ 388 * Sorry this is kind of spaghetti...
389 *
390 * TODO need to do spring cleaning here. For example, we can
391 * delete posters that haven't been accessed in over a week. */
389 QImage res; 392 QImage res;
390 QString posterfile; 393 QString posterfile;
391 394
392 std::filesystem::path posterpath = Filesystem::GetAnimePostersPath(); 395 std::filesystem::path posterpath = Filesystem::GetAnimePostersPath();
393 396