svn path=/trunk/kdenlive/; revision=5251
if (p - pos() != QPointF()) {
if (diffWidth > diffHeight) {
if (m_mode != ResizeBottomLeft)
if (p - pos() != QPointF()) {
if (diffWidth > diffHeight) {
if (m_mode != ResizeBottomLeft)
+#if QT_VERSION >= 0x040600
setY(p.y() - r.height() + rect().normalized().height());
setY(p.y() - r.height() + rect().normalized().height());
+#else
+ setPos(x(), p.y() - r.height() + rect().normalized().height());
+#endif
} else {
if (m_mode != ResizeTopRight)
} else {
if (m_mode != ResizeTopRight)
+#if QT_VERSION >= 0x040600
setX(p.x() - r.width() + rect().normalized().width());
setX(p.x() - r.width() + rect().normalized().width());
+#else
+ setPos(p.x() - r.width() + rect().normalized().width(), y());
+#endif