From 399672b3ce1b13d9d8263f83394dc51ba7a6c078 Mon Sep 17 00:00:00 2001 From: Mads Bondo Dydensborg Date: Fri, 5 Jun 2009 19:22:28 +0000 Subject: [PATCH] Hopefully fix compile problem on armel, where there is no double type svn path=/trunk/kdenlive/; revision=3495 --- src/dvdwizardmenu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dvdwizardmenu.h b/src/dvdwizardmenu.h index a8496a3f..6374d2c3 100644 --- a/src/dvdwizardmenu.h +++ b/src/dvdwizardmenu.h @@ -93,8 +93,8 @@ protected: QPointF newPos = value.toPointF(); QRectF sceneShape = sceneBoundingRect(); DvdScene *sc = static_cast < DvdScene * >(scene()); - newPos.setX(qMax(newPos.x(), 0.0)); - newPos.setY(qMax(newPos.y(), 0.0)); + newPos.setX(qMax(newPos.x(), (qreal)0)); + newPos.setY(qMax(newPos.y(), (qreal)0)); if (newPos.x() + sceneShape.width() > sc->width()) newPos.setX(sc->width() - sceneShape.width()); if (newPos.y() + sceneShape.height() > sc->height()) newPos.setY(sc->height() - sceneShape.height()); -- 2.39.2