diff options
author | Petr Nejedly <pnejedly@blackberry.com> | 2013-07-24 08:13:18 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-26 14:06:15 +0200 |
commit | 88054e44722c9fd5aab90928ee8052ee054053a3 (patch) | |
tree | af967a4fc80b9772ddc2f2b06b24f6f754c948aa /src/particles/qquickimageparticle.cpp | |
parent | 07860794da5863610f38295c9d517fc457c5de95 (diff) |
std:: fixes to make qtdeclarative closer to compilable with QNX NDK.
Math functions come in std:: when #included through <cmath>
Change-Id: I62550e5c23cb6f4464f2c2f5c4188a91b3512d1a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/particles/qquickimageparticle.cpp')
-rw-r--r-- | src/particles/qquickimageparticle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particles/qquickimageparticle.cpp b/src/particles/qquickimageparticle.cpp index 0145ce4edb..424352d8e8 100644 --- a/src/particles/qquickimageparticle.cpp +++ b/src/particles/qquickimageparticle.cpp @@ -1654,9 +1654,9 @@ void QQuickImageParticle::spritesUpdate(qreal time) qreal frame = (time - datum->animT)/(datum->frameDuration / 1000.0); frame = qBound((qreal)0.0, frame, (qreal)((qreal)datum->frameCount - 1.0));//Stop at count-1 frames until we have between anim interpolation if (m_spritesInterpolate) - progress = modf(frame,&frameAt); + progress = std::modf(frame,&frameAt); else - modf(frame,&frameAt); + std::modf(frame,&frameAt); } else { datum->frameAt++; if (datum->frameAt >= datum->frameCount){ |