mirror of
				https://github.com/YACReader/yacreader
				synced 2025-11-04 01:05:06 -05:00 
			
		
		
		
	setAllocationLimit is Qt6 only
This commit is contained in:
		@ -131,7 +131,9 @@ int main(int argc, char **argv)
 | 
			
		||||
    QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
 | 
			
		||||
    QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
 | 
			
		||||
 | 
			
		||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
 | 
			
		||||
    QImageReader::setAllocationLimit(0);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    QApplication app(argc, argv);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user