flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
23.96k stars 1.52k forks source link

fix for QRect keep width and height #3445

Open lededev opened 6 months ago

lededev commented 6 months ago

setTopLeft() call here will make QRect width and height changed, should use moveTo(). eg. when widgetOffset(-100, -100), geometry(x:0,y:0,w:100, h:100). after setTopLeft(), geometry(x:-100,y:-100,w:200,h:200) use moveTo, geometry(x:-100,y:-100,w:100,h:100) fix issue#3022