diff --git a/QHotkey b/QHotkey index 040cf5e..7c4ef6a 160000 --- a/QHotkey +++ b/QHotkey @@ -1 +1 @@ -Subproject commit 040cf5ec0cf2ed605c39d7bc4d0164ab7c54d6bf +Subproject commit 7c4ef6a03a219c99932975bab270ea812589e1ad diff --git a/cropeditor/drawing/textitem.cpp b/cropeditor/drawing/textitem.cpp index e659d5d..5e1ac9d 100644 --- a/cropeditor/drawing/textitem.cpp +++ b/cropeditor/drawing/textitem.cpp @@ -1,5 +1,4 @@ #include "textitem.hpp" -#include #include #include @@ -17,7 +16,6 @@ void TextItem::mouseDragEvent(QGraphicsSceneMouseEvent *e, CropScene *scene) { auto ee = 180 + qRadiansToDegrees(qAtan2((textItem->pos().y() - e->scenePos().y()), (textItem->pos().x() - e->scenePos().x()))); textItem->setRotation(ee); - qDebug() << ee; } }