changeset 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 861368fd42ff
children 0265e125f680
files src/core/anime_db.cc
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
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;
 }