From a1c96530d0da3a9b6717b33a433984296d85fff7 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Sat, 24 Feb 2018 22:40:55 +0100 Subject: [PATCH] fix compilation error --- src/cropeditor/cropscene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cropeditor/cropscene.cpp b/src/cropeditor/cropscene.cpp index b1ccbc6..1934d57 100644 --- a/src/cropeditor/cropscene.cpp +++ b/src/cropeditor/cropscene.cpp @@ -216,7 +216,7 @@ void CropScene::mouseMoved(QGraphicsSceneMouseEvent *e, QPointF cursorPos, QPoin auto buttons = e->buttons(); if (e->modifiers() & Qt::ControlModifier && buttons == Qt::LeftButton) { auto item = whichItem(cursorPos); - if (item) item->moveBy(cursorPos); + if (item) item->moveBy(cursorPos.x(), cursorPos.y()); return; } if (buttons == Qt::LeftButton) {