mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04:00
setAllocationLimit is Qt6 only
This commit is contained in:
@ -82,7 +82,9 @@ int main(int argc, char **argv)
|
||||
|
||||
QCoreApplication app(argc, argv);
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
QImageReader::setAllocationLimit(0);
|
||||
#endif
|
||||
|
||||
app.setApplicationName("YACReaderLibrary");
|
||||
app.setOrganizationName("YACReader");
|
||||
|
Reference in New Issue
Block a user