make the compiler happy on ARM: with qreal==float the compiler is not sure which qFuzzyCompare to use otherwise.

svn path=/trunk/KDE/kdelibs/; revision=964126
This commit is contained in:
Andreas Hartmetz 2009-05-06 02:54:47 +00:00
parent 5e132c33a8
commit b3bdde3483

View File

@ -570,7 +570,7 @@ void Dialog::animatedShow(Plasma::Direction direction)
void DialogPrivate::progressShow(qreal amount)
{
//kDebug() << amount;
if (qFuzzyCompare(amount, 1.0)) {
if (qFuzzyCompare(amount, qreal(1.0))) {
view->viewport()->move(0, 0);
hideAnimId = 0;
q->update();
@ -607,7 +607,7 @@ void DialogPrivate::progressShow(qreal amount)
void DialogPrivate::progressHide(qreal amount)
{
//kDebug() << amount;
if (qFuzzyCompare(amount, 1.0)) {
if (qFuzzyCompare(amount, qreal(1.0))) {
q->hide();
view->viewport()->move(0, 0);
hideAnimId = 0;