[Development] src/svg/qsvgtinydocument.cpp : qreal instead of double

Nikolaos Korkakakis korkakak at gmail.com
Sat Mar 10 19:17:09 CET 2012


On Sat, Mar 10, 2012 at 8:12 PM, Nikolaos Korkakakis <korkakak at gmail.com> wrote:
> Hi list,
>
> I wonder in the  subject mentioned file
> (src/svg/qsvgtinydocument.cpp), why do we use the double type instead
> of qreal. (blame says its lars' code, so I presume there is some
> reason)
>

The offending lines are,
    double runningPercentage =
qMin(m_time.elapsed()/double(m_animationDuration), 1.); (which fails
to build on arm, due to qMin not having signatures with float) and of
course performance wise for the rest of the computations.


> BR,
> N.
>
>


-- 
\n\k



More information about the Development mailing list