# HG changeset patch # User Paper # Date 1762409844 18000 # Node ID 5beae59cf042a8119788c6b2adfdb58522e92d75 # Parent 861368fd42ffa97db7335efe09cf19919d43fa92 anime_db: fix build fail under Qt 5 diff -r 861368fd42ff -r 5beae59cf042 src/core/anime_db.cc --- 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; }