Commit 9f98b04c authored by Mirco Miranda's avatar Mirco Miranda
Browse files

QImageReader::setAllocationLimit wants MiB (and not KiB)

parent 9c4f7cd1
Pipeline #221978 passed with stage
in 1 minute and 42 seconds
......@@ -73,7 +73,7 @@ bool ImageCreator::create(const QString &path, int, int, QImage &img)
}
}
#else
QImageReader::setAllocationLimit(ram / 1024);
QImageReader::setAllocationLimit(ram / 1024 / 1024);
#endif
ir.setAutoTransform(true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment