Qt5: scale unclipped if sizes are different

git-svn-id: trunk@62919 -
This commit is contained in:
zeljko 2020-04-09 09:49:40 +00:00
parent a7403ac9d7
commit 2d38d5077d

View File

@ -6810,7 +6810,7 @@ var
QPixmap_scaled(APixmap, ATempPixmap, Width, Height)
else
if (Width <> SrcWidth) or (Height <> SrcHeight) then
QPixmap_copy(APixmap, ATempPixmap, 0, 0, Width, Height)
QPixmap_scaled(APixmap, ATempPixmap, Width, Height)
else
QPixmap_copy(APixmap, ATempPixmap, 0, 0, QPixmap_width(APixmap), QPixmap_height(APixmap));