mirror of https://github.com/procxx/kepka.git
				
				
				
			Fix broken lambda (MSVC bug?)
This commit is contained in:
		
							parent
							
								
									25fbc2f7e1
								
							
						
					
					
						commit
						2a341d77b1
					
				| 
						 | 
				
			
			@ -230,7 +230,7 @@ void prepareRound(QImage &image, QImage *cornerMasks, ImageRoundCorners corners)
 | 
			
		|||
	auto intsTopRight = ints + imageWidth - cornerWidth;
 | 
			
		||||
	auto intsBottomLeft = ints + (imageHeight - cornerHeight) * imageWidth;
 | 
			
		||||
	auto intsBottomRight = ints + (imageHeight - cornerHeight + 1) * imageWidth - cornerWidth;
 | 
			
		||||
	auto maskCorner = [imageIntsPerLine](quint32 *imageInts, const QImage &mask) {
 | 
			
		||||
	auto maskCorner = [imageIntsPerPixel, imageIntsPerLine](quint32 *imageInts, const QImage &mask) {
 | 
			
		||||
		auto maskWidth = mask.width();
 | 
			
		||||
		auto maskHeight = mask.height();
 | 
			
		||||
		auto maskBytesPerPixel = (mask.depth() >> 3);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue