Fix broken lambda (MSVC bug?)

This commit is contained in:
Evgenii Zheltonozhskii 2018-10-25 12:54:49 +03:00 committed by Alex
parent 25fbc2f7e1
commit 2a341d77b1
1 changed files with 1 additions and 1 deletions

View File

@ -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);