Lancelot: fix a copy-paste error in the new drawPixmapFragment command
Caused crashes because of uninitialized variable Pick-to: 6.5 Change-Id: I18f96e47b766415ad49e6a8515bbaa372b122cd3 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
12909d7c3d
commit
9273bcac7f
@ -1513,7 +1513,7 @@ void PaintCommands::command_drawPixmapFragments(QRegularExpressionMatch re)
|
||||
f.posx = convertToDouble(re.captured(captureIndexStart));
|
||||
f.posy = convertToDouble(re.captured(captureIndexStart + 1));
|
||||
f.srcx = convertToDouble(re.captured(captureIndexStart + 2));
|
||||
f.srcx = convertToDouble(re.captured(captureIndexStart + 3));
|
||||
f.srcy = convertToDouble(re.captured(captureIndexStart + 3));
|
||||
f.srcw = convertToDouble(re.captured(captureIndexStart + 4));
|
||||
f.srch = convertToDouble(re.captured(captureIndexStart + 5));
|
||||
f.sx = convertToDouble(re.captured(captureIndexStart + 6));
|
||||
|
Loading…
x
Reference in New Issue
Block a user