From 2f247db7761cb732f5ccfc7887c9720520bb2827 Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Mon, 1 May 2017 19:58:19 +0200 Subject: [PATCH] Crosshair cursor in CropView --- cropeditor/cropview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cropeditor/cropview.cpp b/cropeditor/cropview.cpp index 6740577..30dc3ac 100644 --- a/cropeditor/cropview.cpp +++ b/cropeditor/cropview.cpp @@ -7,6 +7,7 @@ CropView::CropView(QGraphicsScene *scene) : QGraphicsView(scene) setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setWindowFlags(Qt::WindowStaysOnTopHint | Qt::FramelessWindowHint); setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform | QPainter::HighQualityAntialiasing); + setCursor(QCursor(Qt::CrossCursor)); } void CropView::keyPressEvent(QKeyEvent *e)