From 47c511c86c5aaf510e17c405b6d3069e8276ac62 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 1 Jan 2009 19:17:53 +0000 Subject: [PATCH] build on arm svn path=/trunk/KDE/kdelibs/; revision=904274 --- private/tooltip.cpp | 2 +- widgets/meter.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/private/tooltip.cpp b/private/tooltip.cpp index 81a767e07..acaa4a696 100644 --- a/private/tooltip.cpp +++ b/private/tooltip.cpp @@ -284,7 +284,7 @@ void ToolTip::animateMove(qreal progress) d->from = pos(); } - if (qFuzzyCompare(progress, 1.0)) { + if (qFuzzyCompare(progress, qreal(1.0))) { move(d->to); return; } diff --git a/widgets/meter.cpp b/widgets/meter.cpp index 1430f1f66..7b122a97c 100644 --- a/widgets/meter.cpp +++ b/widgets/meter.cpp @@ -52,7 +52,7 @@ public: void progressChanged(qreal progress) { - bool over = qFuzzyCompare(progress, 1.0); + bool over = qFuzzyCompare(progress, qreal(1.0)); if (value == targetValue) { if (!over && movementId) {