aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSkye Deving <76892045+skyedeving@users.noreply.github.com>2021-01-07 04:05:25 -0600
committerSkye Deving <76892045+skyedeving@users.noreply.github.com>2021-01-28 11:05:42 -0600
commit29354d919fad2da8c26054abb796ed7a270f278d (patch)
tree23f5e904cbf171f7a9cff5ae284fc30baa8a8a2e /test
parentc7f86707949b654a50bc8e6240e665d53ec2a056 (diff)
Undo accidentally overwrite
Diffstat (limited to 'test')
-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());