Fix possible crash in style::colorizeImage.
This commit is contained in:
parent
afe99d1e06
commit
c5a616de35
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ void colorizeImage(
|
|||
auto width = srcRect.width();
|
||||
auto height = srcRect.height();
|
||||
Assert(outResult->rect().contains(QRect(dstPoint, srcRect.size())));
|
||||
outResult->detach();
|
||||
|
||||
auto pattern = anim::shifted(color);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue