Skip to content

effects/slidingpopups: Fix slide offset

Code such as "screenRect.bottom() - windowGeo.bottom()" assumes that both screenRect and windowGeo have the same type. At the moment, it's not the case, screenRect has QRect type and windowGeo has QRectF type, so the calculated offset will be off by one.

Merge request reports

Loading