update LAMMPS GUI bundling for macOS

This commit is contained in:
Axel Kohlmeyer
2023-08-30 06:42:10 -04:00
parent 4f52a5e791
commit 207cb5bb51
5 changed files with 15 additions and 17 deletions

View File

@ -149,8 +149,6 @@ void SlideShow::loadImage(int idx)
do {
QImageReader reader(imagefiles[idx]);
reader.setAutoTransform(true);
if (!reader.canRead())
fprintf(stderr, "cannot read file %s\n", imagefiles[idx].toStdString().c_str());
const QImage newImage = reader.read();
// There was an error reading the image file. Try reading the previous image instead.