]> git.sesse.net Git - kdenlive/blobdiff - src/dvdwizardmenu.h
Hopefully fix compile problem on armel, where there is no double type
[kdenlive] / src / dvdwizardmenu.h
index a8496a3fbc66179dd77df8eb7b281e3a52fd5453..6374d2c3549f58a516a84c6c45af30392f28d196 100644 (file)
@@ -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());