Nanny the Sun compiler by an explicit cast ;-)

BUG: 291690
This commit is contained in:
Thomas Lübking 2012-01-16 22:05:19 +01:00
parent ceffa4c1ff
commit 2062b8eabd

View file

@ -372,7 +372,7 @@ void AnimationEffect::paintWindow( EffectWindow* w, int mask, QRegion region, Wi
if (tAnchor != sAnchor) { if (tAnchor != sAnchor) {
QPointF pt2(xCoord(geo, tAnchor), yCoord(geo, tAnchor)); QPointF pt2(xCoord(geo, tAnchor), yCoord(geo, tAnchor));
pt += prgrs*(pt2 - pt); pt += static_cast<qreal>(prgrs)*(pt2 - pt);
} }
rot.xRotationPoint = pt.x(); rot.xRotationPoint = pt.x();