Skip to content

Fix "Rescale QImage accordingly"

Igor Poboiko requested to merge poboiko/kpimtextedit:scale-image-fix into master

!4 (merged) contained a bug: when user choose not to rescale image, the width and height values were -1, which resulted in a null image after rescaling. Sorry about that 🤦

Also, we only need to rescale image only when needed (i.e. original image is larger than desired).

Merge request reports