Mercurial > minori
diff src/core/anime_db.cc @ 381:5beae59cf042
anime_db: fix build fail under Qt 5
| author | Paper <paper@tflc.us> |
|---|---|
| date | Thu, 06 Nov 2025 01:17:24 -0500 |
| parents | 5eaafed6c10b |
| children | 27c462bc7815 |
line wrap: on
line diff
--- a/src/core/anime_db.cc Thu Nov 06 01:12:39 2025 -0500 +++ b/src/core/anime_db.cc Thu Nov 06 01:17:24 2025 -0500 @@ -408,13 +408,10 @@ if (arr.isNull() || !res.loadFromData(arr)) return QImage(); - qDebug() << posterfile; - /* Save the result to disk - * TODO might be more efficient to save with original format, - * and save filename as well */ - if (!res.save(posterfile, "png")) - qDebug() << "oops\n"; + * TODO probably more efficient to save with original format, + * and save filename as well in the anime class */ + res.save(posterfile, "png"); return res; }
