fix compilation error

This commit is contained in:
ArsenArsen 2018-02-24 22:40:55 +01:00
parent 6220082042
commit a1c96530d0
No known key found for this signature in database
GPG Key ID: 683D2F43B0CA4BD2
1 changed files with 1 additions and 1 deletions

View File

@ -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) {