Skip to content

Commit 7579457

Browse files
committed
Avoid use of QImageReader copy constructor
1 parent d32ad43 commit 7579457

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/courtroom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3103,7 +3103,7 @@ void Courtroom::play_preanim(bool immediate)
31033103
return;
31043104
}
31053105
else {
3106-
QImageReader s_reader = QImageReader(anim_to_find);
3106+
QImageReader s_reader(anim_to_find);
31073107
int image_count = s_reader.imageCount();
31083108
if (image_count <= 1) {
31093109
preanim_done();

0 commit comments

Comments
 (0)