aboutsummaryrefslogtreecommitdiff
path: root/test/test_apng.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_apng.cpp')
-rw-r--r--test/test_apng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_apng.cpp b/test/test_apng.cpp
index 50965ad5..403034bb 100644
--- a/test/test_apng.cpp
+++ b/test/test_apng.cpp
@@ -39,7 +39,7 @@ TEST_CASE("Detect png animation", "[apng][noci]") {
// Auto detect fails on apng
QImageReader d;
- d.setDecideFormatFromContent(true);
+ d.setAutoDetectImageFormat(true);
d.setFileName("snackoo.png");
REQUIRE(!d.supportsAnimation());
REQUIRE(!QPixmap::fromImage(d.read()).isNull());