aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index cc97a405..4782e393 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3103,7 +3103,7 @@ void Courtroom::play_preanim(bool immediate)
return;
}
else {
- QImageReader s_reader = QImageReader(anim_to_find);
+ QImageReader s_reader(anim_to_find);
int image_count = s_reader.imageCount();
if (image_count <= 1) {
preanim_done();