mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
Remove image allocation limit
This commit fixes this error: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 128 megabytes
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
#include <QSysInfo>
|
||||
#include <QDir>
|
||||
#include <QCommandLineParser>
|
||||
#include <QImageReader>
|
||||
|
||||
#include "comic_db.h"
|
||||
#include "db_helper.h"
|
||||
@ -81,6 +82,8 @@ int main(int argc, char **argv)
|
||||
|
||||
QCoreApplication app(argc, argv);
|
||||
|
||||
QImageReader::setAllocationLimit(0);
|
||||
|
||||
app.setApplicationName("YACReaderLibrary");
|
||||
app.setOrganizationName("YACReader");
|
||||
|
||||
|
Reference in New Issue
Block a user